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 is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see LGTM locations.

from XMLLocatable