XML utilities
This module provides utilities for accessing XML, along with some patches to XML::LibXML.
Returns a list of the element children of $node.
Returns the string combining the text nodes within $node.
Checks whether $node is a text node.
Checks whether $node is a element node.
Checks whether $child is a child of $parent.
Checks whether $child is a descendant of $parent.
Checks whether $child is a descendant of, or the same as, $parent.
Creates a new element node with tag $tag (in the namespace $nsURI), with the children in the array ref $children (if any) and assigning the given attributes.
Appends the given children to $node.
Removes all element and text children from $node.
Clones $node if it has a parent, otherwise returns it.
Copy all attributes from $from to $to.
Rename the attribute $from to $to on the node $node.
Remove the given attributes from $node.
Returns the list of values for the given attributes on $node
Initialize XML::LibXML to recognize the catalogs given in LaTeXML.catalogs.
This method scans the document’s RDFa attributes, extracting the prefixes used. These prefixes are then filtered through a $map of known RDFa prefixes and the ones allowed are declared globally for the document via the prefix attribute of its root element.