xsl:include with remote href (http)
Posted: Thu Jul 03, 2008 7:43 pm
Hello,
I am trying to access a remote style sheet over http through an xsl:include element.
The code looks something like this:
<xsl:include href="http://client.local/core/1.0/common-callback.xslt"/>
I have configured my hosts file and created a virtual named host for client.local and I can get the .xslt file through a browser using this url.
However, get a java.io.FileNotFoundException when I run the transform.
The style sheet is in XSL 2.0 and I am running the Saxon 9 parser. I have tried other parsers but they don't seem to work either. Based on the documentation of xsl:include, it seems that this should be allowed.
Any ideas what I am doing wrong?
Thanks,
Seth
I am trying to access a remote style sheet over http through an xsl:include element.
The code looks something like this:
<xsl:include href="http://client.local/core/1.0/common-callback.xslt"/>
I have configured my hosts file and created a virtual named host for client.local and I can get the .xslt file through a browser using this url.
However, get a java.io.FileNotFoundException when I run the transform.
The style sheet is in XSL 2.0 and I am running the Saxon 9 parser. I have tried other parsers but they don't seem to work either. Based on the documentation of xsl:include, it seems that this should be allowed.
Any ideas what I am doing wrong?
Thanks,
Seth