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