Class XML::XMLAttribute

An attribute that occurs inside an XML element.

Direct supertypes

Indirect supertypes

Predicates

getElement

Gets the XML element to which this attribute belongs.

getName

Gets the name of this attribute.

getNamespace

Gets the namespace of this attribute, if any.

getValue

Gets the value of this attribute.

hasNamespace

Holds if this attribute has a namespace.

toString

Gets a printable representation of this XML attribute.

Inherited predicates

getLocation

Gets the source location for this element.

from XMLLocatable
hasLocationInfo

Holds if this element has the specified location information, including file path, start line, start column, end line and end column.

from XMLLocatable