after a couple of months using XPath and xmlstarlet I created my first lenghty XQuery script using Saxon9HE

“In production” I have been using a Bash+xmlstarlet script, that I wanted to optimise by rewriting it into an XQuery script. This would be my 1st XQuery script after a couple of months of exercising XQuery through Priscilla Walmsley’s book and Saxon9HE – a couple of hours per week only because of my entire workload. During… Continue reading after a couple of months using XPath and xmlstarlet I created my first lenghty XQuery script using Saxon9HE

listing a Jenkins CI folder recursively

https://github.com/JochenHayek/misc – pls find my script here! First I wrote this as a Shell script … calling XMLStarlet resp. SaxonHE (for XPath) and curl (for retrieving the Jenkins details as XML files). $ …/jenkins_find_jobs.sh https://integration.wikimedia.org/ci folder … freeStyleProject … matrixProject … The listing is quite helpful for documentational purposes. I was really proud on my little achievement… Continue reading listing a Jenkins CI folder recursively

an XQuery recipe: generating lots of documents in a single XQuery run …

http://www.gnu.org/software/qexo/XQ-Gen-XML.html – search there for “Generate all the HTML output files“! … by putting them in a single large XML object – then use a post-processor to split this into separate files. (Alright this isn’t really a true “single XQuery run” approach. But it is close enough.) With Saxon-HE there is no way to write to separate text… Continue reading an XQuery recipe: generating lots of documents in a single XQuery run …

XQuery …

https://en.wikipedia.org/wiki/XQuery http://www.xml.com/pub/a/2005/03/02/xquery.html – Bob DuCharme: Getting Started with XQuery http://shop.oreilly.com/product/0636920035589.do – O’Reilly Media book on XQuery, 2nd Edition https://en.wikibooks.org/wiki/XQuery https://www.w3.org/XML/Query/#implementations https://en.wikipedia.org/wiki/Saxon_XSLT – “Saxon is an XSLT and XQuery processor …“ https://sourceforge.net/projects/saxon/files/ https://sourceforge.net/projects/saxon/files/Saxon-HE/9.7/readme97.txt http://www.saxonica.com/documentation/index.html#!about/installationjava http://www.saxonica.com/documentation/documentation.xml http://www.saxonica.com/html/documentation/using-xquery/ http://www.saxonica.com/html/documentation/using-xquery/commandline.html

The SAXON XSLT and XQuery Processor

The SAXON XSLT and XQuery Processor Downloaded Saxon-HE from the above URL on my Linux box, decided to go for the Java variant, installed saxonhe.jar and “the resources” into /usr/local/saxon-resources9-3. I wasn’t able to browse the documentation below saxon-resources9-3/doc with Chrome-10, so I use Firefox-3.6 for that. But I also read the documentation here. This is… Continue reading The SAXON XSLT and XQuery Processor