[xsl] Designing streamable XPath expressions

Subject: [xsl] Designing streamable XPath expressions
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Sun, 5 Jan 2014 10:24:03 +0000
Hi Folks,

Suppose you want to count the <head> elements within the <section> elements.

You might use this simple XPath expression:

	count(//section/head)

However, that has a subtle problem when used in a streaming program.

I created a few slides that describe the problem, as well as the solution:

http://xfront.com/Streamable-XPath-expression.pptx

/Roger

Current Thread