This example dumps the structure of the elements of an XML file by displaying the tags and data preceded by their positions in the file: line number, column number and file byte index.
\n"; echo ""; DumpStructure($parser->structure,$parser->positions,"0"); echo "\n"; } ?>