[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Fop parser
I don't see any xsl:fo in your xslt. Could that be the problem? Dave -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of James Piva Sent: Monday, December 18, 2000 12:33 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Fop parser hi, My name is James. I have been trying to parse a xml to pdf using Fop 0.11.0. I'm getting this error. FOP 0.11.0 using SAX parser com.jclark.xml.sax.Driver building formatting object tree setting up fonts formatting FOs into areas java.lang.NullPointerException**** May be it would be easy for you to point out my error. I am still new to xml, but figure this should work. Here is my xml: <?xml version="1.0" encoding="iso-8859-1"?> <greeting>Hello, world!</greeting> Here is my xsl: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="greeting"> <xsl:value-of select="greeting"/> </xsl:template> </xsl:stylesheet> and here is my command line: D:\dump\xslParser\xmltoPDFParser>java -cp c:\javalib\fop_0_11_0.jar;c:\javalib\sax.jar;c:\javalib\xp.jar;c:\javalib\xt .jar co m.jtauber.fop.apps.XTCommandLine hello.xml hello.xsl hello.pdf any comments welcome, i can take it... james XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|