[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Problem with FOP
Hello, I try to use FOP to get a pdf document with a xml document and a xsl document. I have made a test with this doc : toto.xml <?xml version="1.0" ?> <TEST> <data name="toto1"> first line </data> <data name="toto2"> second line </data> </TEST> toto_style.xsl <?xml version="1.0" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> <xsl:template match="/"> This a simple test. <xsl:apply-templates /> </xsl:template> <xsl:template match="data"> DATA. </xsl:template> </xsl:stylesheet> and when I use the comand : jre -cp fop080.jar;sax.jar;xp.jar;xt.jar com.jtauber.fop.apps.XTCommandLine toto.xml toto_style.xsl toto.pdf I have this error : Java.lang.NullPointerException I don't understand why ? My test is very simple. Thanks. gcolin@xxxxxxxxxxxxx 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
|