I have the same setup but I'm calling FOP from an embedded application
(NOT a web application - no tomcat or other server).
Here's the code from my render() method:
ByteArrayOutputStream out = new ByteArrayOutputStream();
DOMResult xslFODomResult =
transformPDF("/some/pathto/a/stylesheet/pdf.xsl
That's bizarre, I 'assumed' FOP used the current directory
as its base dir...
I ran the following command with test.xml, test.xsl and
image.jpg in the current directory:
current_dir> java org.apache.fop.apps.Fop -xml test.xml -xsl
test.xsl -pdf test.pdf
All images in the xml are added to the fo u
Thanks Mangus,
That's great info. (Maybe we can get it stuck into the FAQ? )
I know have 2 working fine. 1 and 3 I still can't get to work
My question about #1 is, how do you know what the relative path is
relative too?? I my mind it should be relative to the stylesheet that's
calling it but i
Ok, you got me started. I looked into this and found out the
following ;-)
In the xsl spec., the src attribute for
is specified to contain a
''
For all I know, this is the URI definition as defined in
RFC2396.
Looking into this and comparing the three attribute values
that failed I came up with t