Subject: Problem with FOP
From: Gerald Colin <gcolin@xxxxxxxxxxxxx>
Date: Mon, 12 Jul 1999 10:38:34 +0200
|
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
|