Class
A XML namespace object.
Namespace
Namespace
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
prefix | string | readonly | The named prefix. |
uri | string | readonly | The URI. |
Methods
Constructor
Namespace Namespace (prefix:
any[, uri:
string])
Creates a Namespace object.
Parameter | Type | Description |
---|---|---|
prefix | any |
The URI prefix, specified as an existing Namespace object, QName object, or string.
• If this is a Namespace or a QName object, the URI and prefix are set to that of the object. • If this is a string, the prefix is set to that string, and the URI must be specified. |
uri | string | The URI if the prefix is specified as a string. (Optional) |
Example | new Namespace ("adobe", "http:/www.adobe.com") |
Used in:
XML XML.addNamespace (namespace: Namespace)
XML XML.removeNamespace (namespace: Namespace)
void XML.setNamespace (namespace: Namespace)
void global.setDefaultXMLNamespace (namespace: Namespace)
Return
Namespace Namespace.Namespace (prefix: any[, uri: string])
Namespace XML.namespace ()
Jongware, 25-Nov-2012 v3.0.3i | Contents :: Index |