1 Reply Latest reply: Mar 28, 2014 4:28 PM by dvohra21 RSS

    Is there any possibility to combine XPath with SAX in Java?

    mh*379860*ly

      HI Gentlemen,

       

      I have an XML instance to parse. One solution works with XPath and Document builder. However, the tree in memory is too big so that I can not build it in my storage (8 GB). Does anyone of you know a method where I use an XPath expression (Java) to select a node but with a better parser (e g SAX) which is not so space hungry? Direct access of nodes is obligatory.

       

      Thanks, kind regards from

      Miklos HERBOLY