Re: [xsl] XSLT streaming: the processor "remembers" things as it descends the XML tree?

Subject: Re: [xsl] XSLT streaming: the processor "remembers" things as it descends the XML tree?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 21 Nov 2013 10:15:22 +0000
On 21/11/2013 00:04, Wendell Piez wrote:
Another example is MathML. I wonder what David C will see with that stylesheet.


Funnily enough before that was posted I'd run an Xquery version of same over some of my files

But for example chapter 4 of the MathML spec is only 18

saxon9q -s:chapter3.xml  "{max(.//*[not(*)]/count(ancestor::node()))}"
<?xml version="1.0" encoding="UTF-8"?>18


Around our own documentation sources (which include a lot of MathML) There were a few in the high 20's but most were around 17/18


even the TortureTest section of the MathML test suite doesn't get above 30

$ for i in *xml ;do echo $i;saxon9q -s:$i "{max(.//*[not(*)]/count(ancestor::node()))}" ;echo "";done

complex1.xml
<?xml version="1.0" encoding="UTF-8"?>26
complex2.xml
<?xml version="1.0" encoding="UTF-8"?>13
complex3.xml
<?xml version="1.0" encoding="UTF-8"?>30
complex4.xml
<?xml version="1.0" encoding="UTF-8"?>10
simplePres.xml
<?xml version="1.0" encoding="UTF-8"?>9


$ pwd /c/cygwin/home/w3c/WWW/Math/testsuite/testsuite/TortureTests/Complexity



David

Current Thread