[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SAX Parsing of an XML file
Please excuse my ignorance of XML.
I've been using "XML" in various forms for a while now, but have been using DOM most of the time to do the work.
I've just picked up SAX and it's brilliant for the right purpose, however...
I want to be able to grab all of the character data for a specific tag (this is dummy XML and not very good dummy XML at that):
.... doesn't matter what's in here ....
My question is (using JAXP) how can I retrieve all the text in the <info></info> tags? There isn't a simple way of doing it straight from the API.