Hello 

I would like to make a report with an image in it. When I render the xml and
the xsl with the image source,  with FOP 0.20.4 out a commandline, it works
fine. But I have to render it, with exactly the same files in a FOPServlet.
There it gives me a NullPointerException.


In the xml it is as follows:

<bild src="c:\xsl\bild_1200011229.jpg" width="50" height="50"></bild>

In the xsl I do it with an external graphics element:

<xsl:template match="bild">
         <fo:block text-align="center">
                <fo:external-graphic src="file:{@src}"/>
        </fo:block>
</xsl:template>

Is there any idea, what the problem is ?

Regards
P. Steiner



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

Reply via email to