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 …

Xidel – yet another HTML/XML/JSON data extraction tool

Xidel is a command line tool to download html/xml pages and extract data from them using CSS 3 selectors, XPath 3 expressions or pattern-matching templates. http://www.videlibri.de/xidel.html https://en.wikipedia.org/wiki/XQuery – I am “watching” the changes on this article, and somebody just added Xidel, that’s how I came across Xidel Cygwin’s and Fink’s repository do not have Xidel, but Xidel’s… Continue reading Xidel – yet another HTML/XML/JSON data extraction tool

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

O’Reilly Media book: XQuery, 2nd Edition

http://shop.oreilly.com/product/0636920035589.do http://www.datypic.com/books/xquery/examples.html – sample queries and XML files http://www.xqueryfunctions.com I am executing the examples with Saxon (“Home Edition”), e.g.: $ saxon net.sf.saxon.Query example0105.xqy It does help though to have a more serious look at Saxon’s “using XQuery” (on the command line) documentation. There are quite a few command line options, and some of them may be… Continue reading O’Reilly Media book: XQuery, 2nd Edition

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