XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] xpath evaluation on xml document's sax input

XSLT 3.0 is all about streaming, and it defines a subset of XSLT and XPath that is amenable to streamed evaluation.

That StackOverflow question is quite old and things have moved on a bit, but it's still essentially valid.

Saxon focuses on XPath streaming within the context of XSLT 3.0, but there are also some streaming facilities offered via XQuery - see https://www.saxonica.com/documentation11/index.html#!streaming/streamed-query

Michael Kay
Saxonica



On 3 Feb 2022, at 17:00, Mukul Gandhi <mukulg@softwarebytes.org> wrote:

Hi all,
   I was researching a bit, on this topic, and came across the following thread on stackoverflow,

https://stackoverflow.com/questions/26996504/in-java-how-do-i-evaluate-xpath-expression-on-xml-using-sax-parser

i.e, can we have a general purpose xpath expression evaluator, on xml document's sax stream input?

My assessment is that, a general purpose xpath expression evaluator, would always require some form of tree representation (of an xpath data model) of an entire xml input document.

Any thoughts would be interesting to know.


--
Regards,
Mukul Gandhi



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS