Methods
| ConstructorQName QName (uri:
any[, name:
string])
Creates a QName object.
Parameter | Type | Description |
uri |
any
|
The URI, specified as a Namespace object, an existing QName object, or string.
•
If this is a Namespace object, the URI is set to the namespace URI, and there is no local name.
• If this is a QName object, the URI and localName is set to those of that object.
• If this is a string, the URI is set to that string.
|
name | string | The local name. Used only if URI is given as a string. (Optional) |
Example | new QName ("http:/www.adobe.com", "name") |
|