Hello! Hmmm, do you realize you are trying to feed html to the FOP? FOP is *formatting objects* processor and understands xsl-fo as input.
Bhiogade, Mittal S (SUPP) wrote: > Hi, > > I am using FOP to generate PDF file having images and the input to the > PDF files is xml and xsl file, > > > image.xml file is as follows > > <?xml version="1.0" encoding="iso-8859-1"?> > <?xml-stylesheet type="text/xsl" href="image.xsl"?> > <pictures> > <picture> > <src>STHBOX.jpg</src> > </picture> > <picture> > <src>STHBOX.jpg</src> > </picture> > <picture> > <src>STHBOX.jpg</src> > </picture> > </pictures> > image.xsl files as follows > > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:output method="html" indent="yes"/> > <xsl:template match="pictures"> > <!-- Do some HTML --> > <xsl:apply-templates/> > <!-- Do some more HTML --> > </xsl:template> > <xsl:template match="picture"> > <img src = "{src}"/> > </xsl:template> > </xsl:stylesheet> > The images are properly rendered in the xml file but when i try to > convert into PDF file using FOP I get the error > > [ERROR]: Unknown formatting object ^img > > Please help me on this. > > /*Mittal S.Bhiogade*/ > */GE-Supply,/* > /*Corporate Drive,*/ > /*6th Floor,*/ > /*Shelton, CT,*/ > /*USA.*/ > /*Phone (Work) 1-203-9443005* / > -- Oleg Tkachenko Multiconn International, Israel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]