public bool MoveToFirstChild() { XmlNode firstChild = curNode.FirstChild; if ( firstChild != null ) { curNode = firstChild; if( !bOnAttrVal ) attrIndex = -1; return true; } return false; }