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

Re: using (stylesheet) params with xalan from cmdline???

Subject: Re: using (stylesheet) params with xalan from cmdline???
From: "Scott Boag/CAM/Lotus" <Scott_Boag@xxxxxxxxx>
Date: Tue, 9 May 2000 10:11:17 -0400
scott jens
You need to name the param:

-param myParam "'hello'"

Remember that the param from the command line is an expression, so you need
to quote strings (this is broken -- it's really confusing to people).

Xalan specific question are better put to the Xalan list.  See
http://xml.apache.org/mail.html.

-scott




                                                                                                                           
                    Jens Lautenbacher                                                                                      
                    <jtl@xxxxxxxxxx>             To:     xsl-list@xxxxxxxxxxxxxxxx                                         
                    Sent by:                     cc:     (bcc: Scott Boag/CAM/Lotus)                                       
                    owner-xsl-list@mulber        Subject:     using (stylesheet) params with xalan from cmdline???         
                    rytech.com                                                                                             
                                                                                                                           
                                                                                                                           
                    05/09/2000 07:13 AM                                                                                    
                    Please respond to                                                                                      
                    xsl-list                                                                                               
                                                                                                                           
                                                                                                                           




I try using xalan (1.0.1) like this:

java  org.apache.xalan.xslt.Process -in foo.xml -xsl foo.xsl -param 'bar'


but xalan reports:

Missing argument for option: -PARAM
Invalid option: bar

where it makes no difference what I use for 'bar'.

Does anybody know if this is a bug?

        jtl


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





 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.