XmlAttribute

16 Dec 20251 minute to read

class for managing attribute collection

Properties

localName string

specifies attribute local name

namespaceUri string

specifies namespace URI

prefix string

specifies namespace’s prefix

Methods

destroy

Releases the resources used by XmlAttribute

Returns void

isDuplicate

Gets whether the attribute is duplicate or not.

Parameter Type Description
prefix string Namespace prefix.
localName string Attribute local name.
namespaceUri string Namespace URI.

Returns boolean

set

Sets the value of the current attribute.

Parameter Type Description
prefix string Namespace prefix.
localName string Attribute local name.
namespaceUri string Namespace URI.

Returns void