[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Fop parser


Subject: RE: [xsl] Fop parser
From: "David LeBlanc" <whisper@xxxxxx>
Date: Mon, 18 Dec 2000 13:23:52 -0800

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: [xsl] 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



Current Thread
Keywords