/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
Node domParent = dom.getNodeType( ) ;
Node domParent = dom.getParentNode ( ) ;
this.xml = xml; } int getChildCount() { return this.dom.getChildNodes().getLength(); } XmlNode parent() { <extra_id_0> if (domParent instanceof Document) return null; if (domParent == null) return null; return createImpl(domParent); } int getChildIndex() { if (this.isAttributeType()) return -1;