views:

264

answers:

1

I managed to parse to comments from an XML file using javax.xml.parsers.SAXParser, but is there a way to parse comments in org.apache.xerces.parsers.SAXParser in Java? A simple example would be brilliant. thanks

+2  A: 

You need to implement a LexicalHandler.

Bruno Rothgiesser