[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Fop parser

Subject: RE: Fop parser
From: "David LeBlanc" <whisper@xxxxxx>
Date: Mon, 18 Dec 2000 13:23:52 -0800
fop parser 2005
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.