Thanks Michael,

I did some more research and found i could use the ModuleURIResolver.  I just need to talk to the camel guys about a patch so that i can use it.

Thanks again.

> Message: 4
> Date: Thu, 28 Jul 2011 22:57:56 +0100
> From: Michael Kay <>
> Subject: Re: [saxon] import module from classpath
> To:
> Message-ID: <>
> Content-Type: text/plain; charset="iso-8859-1"
> I think (can't swear to it) that should work automatically if the base
> URI of the query is a "jar:" URI (or pseudo-URI, since these aren't
> actually standardised). It would be interesting to see what calling
> static-base-uri() gives you.
> Failing that, the answer is to write a module URI resolver which Saxon
> will call to get from the URI used in the "location hint" to an actual
> resource (file).
> I'm afraid I have no personal experience of camel-saxon.
> Michael Kay
> Saxonica