> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
> I read about how retrieving images in WAR files.
> But how to access xsl-files located in WAR files.
>
> My xsl-fo file includes another xsl file:
> <xsl:include href="common.xsl"/>
>

I think this should be no problem if the 'commons.xsl' is in the same folder
as the xsl-fo containing this <xsl:include>... otherwise you're gonna have
to use an absolute url.

> However, while running the web-application, I get a
> java.io.FileNotFoundException: C:\jboss-3.0.4\bin\common.xsl
>
> I thought, just like images, FOP would look into the baseDir location.
>

baseDir is <q> the current working directory </q> if FOP is being embedded.
(see: http://xml.apache.org/fop/configuration.html )

Greetz,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to