You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Arnd Beißner <ar...@cappelino.de> on 2002/05/07 07:12:32 UTC

Re: Image in an XML

Priska.Steiner wrote:

> Hello
> I'm working with FOP 20.3. As input I have a xml-stream and a
> xsl-File.
> Now I would like to have an image in my xml, not in the xsl.
> The image comes from a database. Is there any possibility to do
> that, without writing the image in a file ?
> How have I to encode it, for Fop ? 

What you could do - I successfully did that for a customer -
is: embed the image in the XML file - base64 encoded. Then
write an extension function for Xalan that decodes the image
and creates a temp file containing the image.

This has worked nicely for me - I used this method with
exported Domino databases in XML format.

Hope this helps,

Arnd Beissner
--
Cappelino Informationstechnologie GmbH
Arnd Beißner
Bahnhofstr. 3, 71063 Sindelfingen, Germany
Email: arnd.beissner@cappelino.de
Phone: +49-7031-463458
Mobile: +49-173-3016917


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org