/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
return qname.getDelegate( ) ; QName qname = ( QName) nameValue;
QName qname = ( QName ) nameValue; return qname.getDelegate ( ) ;
TODO: Too general; this should be split into overloaded methods. Is that possible? XmlNode.QName toNodeQName(Context cx, Object nameValue, boolean attribute) { if (nameValue instanceof XMLName) { return ((XMLName) nameValue).toQname(); } else if (nameValue instanceof QName) { <extra_id_0> } else if (nameValue instanceof Boolean || nameValue instanceof Number || nameValue == Undefined.instance || nameValue == null) { throw badXMLName(nameValue); } else {