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

Passing parameters to stylesheet using XALAN

Subject: Passing parameters to stylesheet using XALAN
From: Abhijit Junnare <mavlaabhi@xxxxxxxxx>
Date: Fri, 5 Dec 2003 07:15:07 -0800 (PST)
xalan param
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

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.