Relative Content

Tag Archive for javaxml-parsingsaxsaxparser

How to get node outside loop while using sax parser

I need to parse document using SAX parser in java. I was able to print all the node values if I use DefaultHandler class traditionally implementing the startElement, endElement and characters method. How can we access the node outside the for loop
My Sample XML is: