XMLDocument.attributes as NamedNodeMap
This is inherited from the XMLNode object.
cts.doc("example.xml").documentElement. attributes.getNamedItem("class")