Hi all,
1) Is it possible to use <xsl:include and/or <xsl:import entities in xsl
sheets used by FOP?
2) Is it possible to combine this with code that generates pdf (through fo)
3) (And now the real question) Is it possible to do this if your xsl are
resources of your achive, fetched by getClass().getResource("myxsl.xsl")?
For example:
InputStream xslInputStream = getClass().getResourceAsStream("myxsl.xsl");
// myxsl.xsl uses xsl:include entities, including myotherxsl.xsl etc
Source xsltSrc = new StreamSource(xslInputStream);
// Can only provide one xsl file (the root file)
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer(xsltSrc);
// throws exception
My application will be distributed as a jar, so thats why I want the
resources to stay resources.
Thanks for any and all help,
Geoffrey
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]