I'm parsing a large XML file(of size 3.5 MB) using DOM parser. I'm using relative XPath for processing the XML. However, with DOM, XPath is consuming lot of time(almost a min. for a parent child combination and have 900 such elements) and total time taken is 10 -12 hours for one such file.
Can anyone suggest a good effiicient parser which has similar features of DOM like relative XPath and returning node object on querying with XPath?