Namespace

A XML namespace object.

Methods:

Namespace

Objects:

String

Property Listing

Property

Type

Access

Description

prefix

String

readonly

The named prefix.

uri

String

readonly

The URI.

Method Listing

Constructor

Namespace Namespace (prefix:Varies, [uri:String])

Creates a Namespace object.

Parameter

Type

Description

prefix

Varies

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.

Return

Namespace.Namespace()

XML.namespace()