/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
Node referenceDom = reference.dom ;
Node referenceDom = ( reference != null ) ? reference.dom : null;
Document document = null; if (reference != null) { document = reference.dom.getOwnerDocument(); } else { document = processor.newDocument(); } <extra_id_0> Namespace ns = qname.getNamespace(); Element e = (ns == null || ns.getUri().length() == 0) ? document.createElementNS(null, qname.getLocalName()) : document.createElementNS(ns.getUri(), qname.qualify(referenceDom)); if (value != null) {