This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL command line parameter
- To: xsl-list at mulberrytech dot com
- Subject: Re: XSL command line parameter
- From: Mike Brown <mike at skew dot org>
- Date: Thu, 18 May 2000 12:01:19 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
> Is it possible to put on the command line some
> parameter which will be use in the XSL file?
Yes, XSLT allows for <xsl:param name="paramname"/> as a child of the
xsl:stylesheet element, but it does not specify the mechanism by which
the parameter is passed in. You'll have to check the API documentation
for the XSL processor you are using. For both XT and SAXON,
paramname=value on the command line will work. The value will be
interpreted as an object of type string.
- Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/ http://www.webb.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list