This content has been marked as final. Show 2 replies
The parser will create a DOM tree of the entire document. After that it is up to you to extract the information you need from that tree structure.
I see you want to split on the classes in the document, so loop through all the children of the root node (which according to your XML layout are always class nodes) and process the children of each class node you find, storing the information in beans.