QName
Overview
QName, related to inline xml - as supported by the Rhino engine (but the support for direct XML inside javascript source code - as proposed by standards (Ecma-357) - is deprecated).
Properties Summarized
Properties Detailed
localName
Identifies the local name of the QName.
Type String
Sample
var Qnamevar = new QName('http://www.w3.org/1999/xhtml', 'author');
application.output(Qnamevar.localName);
application.output(Qnamevar.uri);
uri
Identifies the namespace of the QName, if applicable.
Type String
Sample
var Qnamevar = new QName('http://www.w3.org/1999/xhtml', 'author');
application.output(Qnamevar.localName);
application.output(Qnamevar.uri);
Last updated
Was this helpful?