Having XML & XSL file as input to create a PDF

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 UTC