W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2004

Having XML & XSL file as input to create a PDF

From: Yudhistran Kunarajah <yudhistran@edocs.com>
Date: Tue, 30 Mar 2004 18:27:54 -0500
Message-ID: <8A6229AB5BE35447A7A838D64C1792BB11E365B2@exchangeus.edocs.com>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>

Hi

When I give 

Fop -xml data1.xml -xsl map1.xsl -pdf test1.pdf

I am getting following error

[ERROR] The processing instruction target matching "[xX][mM][lL]" is not
allowed.
org.apache.fop.apps.FOPException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
	at org.apache.fop.apps.Driver.render(Driver.java:534)
	at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:120)
	at org.apache.fop.apps.Fop.main(Fop.java:62)

How do I give the xml file ar input

I am using FOP 0.20.5 version.

Put when I give fo file it woks
	Fop -fo test1.fo -pdf test1.pdf

Thanks & Regards
Yudhish
Received on Tuesday, 30 March 2004 18:31:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:12 GMT