xsl-list
[Top] [All Lists]

Passing parameters to stylesheet using XALAN

2003-12-05 08:15:07
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



<Prev in Thread] Current Thread [Next in Thread>