Skip to end of metadata
Go to start of metadata

Groovy's XML capabilities are powerful enough that you may not need to consider other alternatives such as XQuery. If you wish to use XQuery though, it isn't hard to do. Here we just added mxquery.jar from the MXQuery project to our CLASSPATH.
Once our path is set up, we can run the following script:

Depending on your XQuery processor and operating system, you might be able to make use of XQuery directly from the command line instead of calling it from Java or Groovy.

  • No labels

1 Comment

  1. I downloaded mxquery0.4.1, put the mxquery.jar in the classpath, but it seems to me, that the class
    is not there anymore. Even not in another package name.

    So I get:
    startup failed, Script0: 3: unable to resolve class ch.ethz.mxquery.core.XQueryRuntime

    How to get this running?