Gets the name of this attribute.
Sets the name of this attribute.
Adds a character reference to this attribute and returns the new character reference.
Adds an entity reference to this attribute and returns the new entity reference.
Adds attribute text to this attribute and returns the new text.
Returns an XML string representation of this attribute.
Returns the parent of this attribute.
Generated using TypeDoc
Represents an attribute.
An attribute is part of the start tag of an element and is structured as follows, where
{name}
is the name of the attribute and{value}
is the value of the attribute:<element {name}="{value}">
The
{name}
value is a property of this node, while the{value}
property consists of the children of this node.Attributes can have an unlimited number of attribute text, character references, and entity references.