Class

QName

 A qualified XML name, containing the URI and the local name.

QuickLinks

QName

Properties

PropertyTypeAccessDescription
localNamestring readonlyThe local name part of the qualified name.
uristring readonlyThe URI part of the qualified name.

Methods

Constructor

QName QName (uri: any[, name: string])
Creates a QName object.

ParameterTypeDescription
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.
namestringThe local name. Used only if URI is given as a string. (Optional)

Examplenew QName ("http:/www.adobe.com", "name")

Used in:

void XML.setName (name: QName)

Return

QName QName.QName (uri: any[, name: string])

QName XML.name ()

Jongware, 28-Apr-2012 v3.0.3iContents :: Index