Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Streaming XPath evaluation

Are there any production-ready libraries for streaming XPath expressions evaluation against provided xml-document? My investigations show that most of existing solutions load entire DOM-tree into memory before evaluating xpath expression.

like image 697
nixau Avatar asked Jun 15 '09 13:06

nixau


People also ask

How can I test XPath?

Press F12 to open Chrome Developer Tool. In "Elements" panel, press Ctrl + F. In the search box, type in XPath or CSS Selector, if elements are found, they will be highlighted in yellow.

What is XPath checker?

Free tool to validate and extract the matching piece of the XML data against the input expression. The result object that matches the given parameter will be displayed in the output result box. Refer the x-path example for usage. Input.


1 Answers

XSLT 3.0 provides streaming mode of processing and this will become a standard with the XSLT 3.0 W3C specification becoming a W3C Recommendation.

At the time of writing this answer (May, 2011) Saxon provides some support for XSLT 3.0 streaming .

like image 98
Dimitre Novatchev Avatar answered Sep 17 '22 12:09

Dimitre Novatchev