 		 */
 		public function childIndex():int
 		{
-			if(!parent)
+			if(!_parent)
 				return -1;
 
-			return parent.getIndexOf(this);
+			return _parent.getIndexOf(this);
 		}
 		
 		/**

				return indent + "<?" + name().localName + " " + _value + "?>";

			// We excluded the other types, so it's a normal element
			//TODO I'm here...
			// step 8.
			//ancestors
			if(!ancestors)

		
		public function setParent(parent:XML):void
		{
			var oldParent:XML = _parent;
			_parent = parent;
			//assign first to prevent the possiblity of a recursive loop
			if(oldParent)
				_parent.removeChild(this);
		}

		public function setValue(value:String):void
