Speeding up xpath

后端 未结 6 531
广开言路
广开言路 2020-12-24 14:09

I have a 1000 entry document whose format is something like:


     
          
                   


        
6条回答
  •  时光说笑
    2020-12-24 14:26

    I had similar issue with the Xpath Evaluation , I tried using CachedXPathAPI’s which is faster by 100X than the XPathApi’s which was used earlier. more information about this Api is provided here : http://xml.apache.org/xalan-j/apidocs/org/apache/xpath/CachedXPathAPI.html

    Hope it helps. Cheers, Madhusudhan

提交回复
热议问题