Hi there,
(Within FOP)
I was wondering if there is a way to reference images within an absolute URI xincluded file.
I know there exists the
<xsl:param name="keep.relative.image.uris" select="1"></xsl:param>
parameter which (if included in the stylesheet customization) makes the fileref reference to be "literally copied" to the output fo-file, but then all images referenced in relative URI xincluded files are not resolved anymore
These absolute URI xincluded files are not absolute referenced on purpose.
They arise when resolving a file like so
somefile.xml:
...
<xi:include href="">
...
catalog.xml:
...
<rewriteURI
uriStartString="file:///docdir/"
rewritePrefix="somerelativedir/" />
...
What I intend with this is to make many xinclude resolutions to depend on the catalog that is used on the xsltproc invocation.
This works, but fileref tries to look for a file in
../../home/user/many/directories/in/path/../working_directory/image/
which doesnt exist.
This only occurs for fo. Html processing resolves image files flawlessly.