I working on xml sax parser to parse xml files and below is my code
xml file code:
Registered Nurse-Epilepsy&
I would recommend using a pulldom. This allows you to load a doc with a sax parser, and when you find a node that you are interested in, to load just that node into a dom fragment.
Here is an article on using it with some examples: https://www.ibm.com/developerworks/xml/library/x-tipulldom/index.html