This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



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@schlund.de>             To:     xsl-list@mulberrytech.com                                         
                    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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]