Hi,
I use 0.9dev but I think this applies to all versions:
I use a local document-to-fo.xsl to change the output to pdf.
However, I don't like to copy the complete global *fo.xsl files found in the
plugin (org.apache.forrest.plugin.output.pdf) and like to source them in
my xsl-file like this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<xsl:import
href="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl"/>
<!-- ... my definitions follow -->
However this always gives an error from cocoon:
"The scheme is not conformant"
which is useless for me since I have found nothing on this error in
google etc.
When I use:
<xsl:import
href="/opt/apache-forrest-0.9dev/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl"/>
instead it works, but I don't like to use an absolute path here since we
use forrest on different machines.
Any idea?
Kind regards
Thomas
I use 0.9dev but I think this applies to all versions:
I use a local document-to-fo.xsl to change the output to pdf.
However, I don't like to copy the complete global *fo.xsl files found in the
plugin (org.apache.forrest.plugin.output.pdf) and like to source them in
my xsl-file like this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<xsl:import
href="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl"/>
<!-- ... my definitions follow -->
However this always gives an error from cocoon:
"The scheme is not conformant"
which is useless for me since I have found nothing on this error in
google etc.
When I use:
<xsl:import
href="/opt/apache-forrest-0.9dev/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl"/>
instead it works, but I don't like to use an absolute path here since we
use forrest on different machines.
Any idea?
Kind regards
Thomas