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 BRAHMA <br...@emis-intl.com> on 2001/11/28 11:53:45 UTC
warning--not generating a pdf file
> Hi,
>
> I tried to conevrt the following one named Example1.fo into
> Example1.pdf by using org.apache.Fop application from
> org.apache....there I got an warning and unable to generate a .pdf
> file.Can any of you help me in solving the problem.
I even look into the faq's but I am unable to solve.
>
> I got the following error:-
>
> [d:\fop\myexamples]java org.apache.fop.apps.Fop Example2.fo Example2.pdf
>
> FOP @version@
> using SAX parser org.apache.xerces.parsers.SAXParser
> building formatting object tree
> setting up fonts
> WARNING: Unknown formatting object
> http://www.w3.org/1999/XSL/Transform^stylesh
> ERROR:
>
> ____________________________________________________
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:fo="http://www.w3.org/1999/XSL/Format">
> <xsl:output indent="yes"/>
> <xsl:template match="/">
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> <fo:layout-master-set>
> <fo:simple-page-master master-name="only">
> <fo:region-body/>
> </fo:simple-page-master>
> </fo:layout-master-set>
> <fo:page-sequence master-name="only">
> <fo:flow flow-name="xsl-region-body">
> <xsl:apply-templates select="//ATOM"/>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
> </xsl:template>
> <xsl:template match="ATOM">
> <fo:block font-size="20pt" font-family="serif"
> line-height="30pt">
> <xsl:value-of select="NAME"/>
> </fo:block>
> </xsl:template>
> </xsl:stylesheet>
> _______________________________________________________
> thanks+regards
> brahma