This is the data structure for xml data tree
Fields :
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.
XNode() -
Constructor for class org.gswing.utils.xml.XNode
Class containing methods to convert dom document to a tree of XNodes (see class XNode)
Sequence -
XParser xp=new XParser();
xp.initDoc(xmlFileName);
XNode xn=xp.xmlToXNode();
and you have an XNode which is actually the root of a tree of XNodes.