DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

Enter additional information related to this 'class' inside the {div} macro with 'id=description'


Property Summary
String
prefix
Identifies the prefix of this namespace, if applicable.
String
uri
Identifies the namespace of this Namespace, if applicable.

Property Details
prefix
Identifies the prefix of this namespace, if applicable.
Returns
String
Sample
var xmlElement = <xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">Hello World!</xhtml:p>;
var namespace = xmlElement.namespace();
application.output("Prefix: " + namespace.prefix); //will output: 'xhtml'
application.output("URI: " + namespace.uri); //will output: 'http://www.w3.org/1999/xhtml'

uri
Identifies the namespace of this Namespace, if applicable.
Returns
String
Sample
var xmlElement = <xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">Hello World!</xhtml:p>;
var namespace = xmlElement.namespace();
application.output("Prefix: " + namespace.prefix); //will output: 'xhtml'
application.output("URI: " + namespace.uri); //will output: 'http://www.w3.org/1999/xhtml'