Class XML::XMLElement
An XML tag in an XML file.
Direct supertypes
Indirect supertypes
Predicates
getAnAttribute | An XML attribute of this XML element. |
getAttribute | The attribute with the specified |
getAttributeValue | The value of the attribute with the specified |
getDepth | The depth of this element within the XML file tree structure. |
getElementPositionIndex | The index of this XML element among its parent’s children. |
getFile | The XML file in which this XML element occurs. |
getIndex | The index of this XML element among its parent’s children. |
getName | The name of this XML element. |
getNamespace | The namespace of this XML element, if any. |
getParent | The parent of this XML element. |
hasAttribute | Whether this XML element has an attribute with the specified |
hasName | Whether this XML element has the given |
hasNamespace | Whether this XML element has a namespace. |
toString | A printable representation of this XML element. |
Inherited predicates
allCharactersString | Append all the character sequences of this XML parent from left to right, separated by a space. | from XMLParent |
charsSetUpTo | Append the character sequences of this XML parent from left to right, separated by a space, up to a specified (zero-based) index. | from XMLParent |
getACharactersSet | A character sequence that is a child of this XML parent. | from XMLParent |
getAChild | A child element of this XML parent. | from XMLParent |
getAChild | A child element of this XML parent with the given | from XMLParent |
getAComment | A comment that is a child of this XML parent. | from XMLParent |
getChild | The child element at a specified index of this XML parent. | from XMLParent |
getLocation | The source location for this element. | from XMLLocatable |
getNumberOfCharacterSets | The number of places in the body of this XML parent where text occurs. | from XMLParent |
getNumberOfChildren | The number of child XML elements of this XML parent. | from XMLParent |
getTextValue | The text value contained in this XML parent. | from XMLParent |
hasLocationInfo | Whether this element has the specified location information, including file path, start line, start column, end line and end column. | from XMLLocatable |