Class XML::XMLAttribute

An attribute that occurs inside an XML element.

Direct supertypes

Indirect supertypes

Predicates

getElement

The XML element to which this attribute belongs.

getName

The name of this attribute.

getNamespace

The namespace of this attribute, if any.

getValue

The value of this attribute.

hasNamespace

Whether this attribute has a namespace.

toString

A printable representation of this XML attribute.

Inherited predicates

getLocation

The source location for this element.

from XMLLocatable
hasLocationInfo

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

from XMLLocatable