[Home] [By Thread] [By Date] [Recent Entries]
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"?>18Around 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
David
|

Cart



