Hello i am beggining using fop.

I am tryin for making one pdf file.
but i have my fist problem.

i am creating the pdf from one xml file and other xsl file using one java web application.
in my xsl file i have:


using this code it return well the graphic into the pdf file:
<fo:external-graphic border-after-color="#013A6C" border-before-color="#013A6C" border-end-color="#013A6C" border-start-color="#013A6C" color="#013a6c" content-height="80px" content-width="85px" font-size="45px" height="80px" text-align="right" width="85px" space-before.optimum="4pt" space-after.optimum="4pt">
<xsl:attribute name="src">url(' <xsl:text disable-output-escaping="yes">C:\html\pdf\certificadosCursos/certLogo.gif</xsl:text> ') </xsl:attribute>
</fo:external-graphic>


but i will pass to one linux machine and the image will be into the webapp root dir (/) and pdf/certificadosCursos/certLogo.gif

but if i use:
<xsl:attribute name="src">url(' <xsl:text disable-output-escaping="yes">/pdf/certificadosCursos/certLogo.gif</xsl:text> ') </xsl:attribute>
it doesn't return the file (the graphic).
how can i solve this problem without use the absolute path (/home/user/html/........)?
is posible to load the imagen with une url (http://www.domain.com/pdf/certificadosCursos/certLogo.gif


??
thnaks




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



Reply via email to