XmlAttribute
12 Sep 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
get whether the attribute is duplicate or not
| Parameter | Type | Description |
|---|---|---|
| prefix | string |
namespace’s prefix |
| localName | string |
attribute localName |
| namespaceUri | string |
namespace URI |
Returns boolean
set
set value of current attribute
| Parameter | Type | Description |
|---|---|---|
| prefix | string |
namespace’s prefix |
| localName | string |
attribute localName |
| namespaceUri | string |
namespace URI |
Returns void