Anyone have some general guidance for doing a migration from NUX to just the straight XOM then?

import nux.xom.pool.{XOMUtil, BuilderPool => NuxBuilderPool, XQueryPool => NuxXQueryPool}
import nux.xom.xquery.{XQuery => NuxXQuery}

private def transform(xqueryRaw: String, xml: String): String = {
    val xquery: NuxXQuery = NuxXQueryPool.GLOBAL_POOL.getXQuery(xqueryRaw, null)
    val builder = NuxBuilderPool.GLOBAL_POOL.getBuilder(false)
    val doc =, null)
    val node = xquery.execute(doc).next

Might still need NUX for the XOMUtil stuff?



On Thu, Mar 13, 2014 at 3:28 AM, Michael Kay <> wrote:

No, I don't think anyone has been maintaining NUX. (In fact, last time I looked, it was quite hard to find a download).

I think that many of the good things that were done in NUX ended up being incorporated into the Saxon XOM wrapper.

Michael Kay

On 12 Mar 2014, at 15:24, Eric Peters <> wrote:

> It looks like NUX hasn't been touched since 2006, but I'm not sure if someone has been maintaining it to work with the current Saxon libraries?
> The current exception I get with: "net.sf.saxon" % "Saxon-HE" % "9.5.1-4",
> Exception in thread "main" java.lang.NoSuchMethodError: net.sf.saxon.Configuration.setAllowExternalFunctions(Z)V
>         at nux.xom.xquery.XQuery.createConfiguration(
>         at nux.xom.xquery.XQuery.<init>(
> Thanks,
> Eric
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> saxon-help mailing list archived at