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