Saxon supports imports, and so does servicemix-saxon.
The problem comes from the fact that the stylesheet is loaded using
spring "classpath:" protocol which saxon does not recognize.  There is
no workaround currently afaik, but it should be not too difficult to
enhance saxon so that it can recognize this protocol...

On 9/19/07, czarn3cki <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm trying to use <xsl:import href='utils.xslt' /> in my xslt stylesheet to
> import common functions, but it does not work in servicemix framework. When
> I deploy saxon I see:
> java.io.FileNotFoundException $SERVICEMIX_ROOT/utils.xslt  (No such file or
> directory)
>
> Of course the utils.xslt is in the same directory as the main stylesheet
> (everything works fine when I debug it with XMLSpy)
>
> I tried also <xsl:import href='classpath:utils.xslt' /> but it didn't work.
>
> The question is if servicemix-saxon bean supports importing function? Should
> I somehow configure it in xbean.xml?
>
> Thanks in advance (for any answer)
>
> Marek
> --
> View this message in context: 
> http://www.nabble.com/-servicemix-saxon--Problem-with-%3Cxsl%3Aimport%3E-tf4480678s12049.html#a12776378
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to