Hello all, Im currently using a SaxParser to go through my XML document. Now I would like to investigate certain parts of the document to do some analysis. This is a large file could be up to 50MB and up which is why instinctively I chose the Sax parser over DOM. Certain parts of the file will look as below:
 
...
<head>
     <body>
             <content>something</content>
     </body>
</head>
...
 
I would like to get sub-trees of the XML document that look like above. Is there anyway that while using Sax I can somehow get the tree building capabilities of DOM so that I can gather the info in the sub-trees?
 
What I want to do is create a report something like below:
 
Heading : this will contain what is in the "head" tag 
Report :  this will contain what is in the "content" tag
 
Any help would be appreciated.
 

- Keno -

Reply via email to