Manuel Lemos - 2008-03-14 20:27:09 -
In reply to message 1 from kirk
The class parses the XML document and stores its structure in a class variable named structure.
That is an associative array that associates the path of its element with the element values. Data elements are strings. Tag elements are associative arrays with the tag name and attributes.
The element paths are strings with the number of the element preceded by the path of the parent element, using commas to separate the element number and the parent element path.
You need to traverse the structure array to find the elements within the path you want and then access their values.