XQuery and XSLT Demo - README

Authors: Wolfgang May, Franz Schenk (up to 2010) at DBIS, Institute for Informatics, Universität Göttingen, Germany.


The XQuery and XSLT demo servlet is implemented as a simple web service, built upon the Saxon XQuery and XSLT engine (9.2016: version

This software is meant to be used for demonstration purposes. The servlet can be copied locally (CIP Pool, Institut für Informatik, Universität Göttingen) in form of a war file archive from /afs/informatik.uni-goettingen.de/course/xml-lecture/XML-Tools/xquery-demo.war.

Supported Languages

Predefined Documents

There are two predefined documents that can be used as context documents for the query engine:

Furthermore, it is possible to use other context documents by specifying a URL. The query engine will try to load the input document from the given URL (which might be given as http://... or as file:/...).

For using the mondial or hamlet document in xqueries (as a context element) it is sufficient to use doc("mondial.xml") or doc("hamlet.xml") as the document address (instead of the whole URL). E.g.

for $i in doc("mondial.xml")//country return $i/name

Background Lecture

Semistructured Data and XML at Institute for Informatics, Universität Göttingen, Germany.

Back to the Demo