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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--