This is the data structure for xml data tree
String tagName - The name of the current tag (node)
String text - The text contained in the node (node value)
Properties attributes - the attributes of the tag as Properties
You can get the attribute names and values
by accessing the properties keys and values.
Class containing methods to convert dom document to a tree of XNodes (see class XNode)
XParser xp=new XParser();
and you have an XNode which is actually the root of a tree of XNodes.