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
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