[xsl] Passing parameters to stylesheet using XALAN

Subject: [xsl] Passing parameters to stylesheet using XALAN
From: Abhijit Junnare <mavlaabhi@xxxxxxxxx>
Date: Fri, 5 Dec 2003 07:15:07 -0800 (PST)
I am using a XSL stylesheet with xalan to conver souce
xml into xsl fo. I have a bunch of parameters at the
top level in the stylesheet. How do I pass these
parameters using command line?

I tried something like this 
"xalan -in xml\TestDocs\Margins.xml -xsl
xml\fop_fo_margin.xsl  -out xml\TestDocs\temp.fo
-PARAM FontSize 8pt"

But I get the following
Missing argument for option: -PARAM
Invalid option: DocBaseFontSize

I even tried other variations like 
"xalan -PARAM FontSize 8pt -in
xml\TestDocs\Margins.xml -XSL xml\fop_fo_margin.xsl
-out xml\TestDocs\temp.fo"

And I get the following
Missing argument for option: -OUT


Thanks for your help.
Abhi


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread