public override bool MoveToParent() { if (!element.HasParent) return false; element = element.Parent; attrs = null; return true; }
public override bool MoveToNext() { if (!element.HasNextSibling) return false; element = element.NextSibling; attrs = null; return true; }
public override bool MoveToFirstAttribute() { IHTMLAttributeCollection collection = (IHTMLAttributeCollection)CurrentNode.attributes; if (collection == null) { return false; } attrs = new AttributeNodes(CurrentNode); if (!attrs.MoveNext()) { attrs = null; return false; } return true; }
public override bool MoveToFirstChild() { if (!element.HasFirstChild) return false; element = element.FirstChild; attrs = null; return true; }
public override bool MoveTo(XPathNavigator other) { NavigableDocument o = other as NavigableDocument; if (o == null) return false; element = new ElementNode(o.element); if (o.attrs != null) { attrs = new AttributeNodes(o.attrs); } return true; }