HI I'm newbie with Apache FOP
I try to test it using this XML -------- cut here --------------- <?xml version="1.0" ?> <persons> <person username="JS1"> <name>John</name> <family_name>Smith</family_name> </person> <person username="ND1"> <name>Nancy</name> <family_name>Davolio</family_name> </person> </persons> -------- cut here --------------- This XLS -------- cut here --------------- <?xml version="1.0" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version=" 1.0"> <xsl:output method="xml" indent="yes"/> <xsl:template match="/"> <root> <xsl:apply-templates/> </root> </xsl:template> <xsl:template match="//person"> <name username="[EMAIL PROTECTED]"> <xsl:value-of select="name" /> </name> </xsl:template> </xsl:stylesheet> -------- cut here --------------- Using Fedora Linux 5, Java SDK 1.5 sh fop -xml a.xml -xls a.xls -pdf a.pdf GOT: Jun 26, 2007 3:47:50 PM org.apache.fop.cli.Main startFOP SEVERE: Exception org.apache.fop.apps.FOPException: Renderer has not been set! at org.apache.fop.cli.CommandLineOptions.getOutputFormat( CommandLineOptions.java:796) at org.apache.fop.cli.Main.startFOP(Main.java:151) at org.apache.fop.cli.Main.main(Main.java:191) Any information on this error? -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com
