The xml.data vocabulary defines a simple document object model for XML. Everything is simply a tuple and can be manipulated as such.
XML data classes
XML data constructors

Simple words for manipulating names:
names-match? ( name1 name2 -- ? )

assure-name ( string/name -- name )


For high-level tools for manipulating XML, see xml.traversal