I want to introduce hierarchy among elements while showing the output i.e. parent of every element if it exists? as of now my code parses every element without hierarchy among nested elemets.
How to introduce hierarchy in a xml parser using XMLReader?
Collapse