[XSL-LIST Mailing List Archive Home]
Re: XSL command line parameter
Subject: Re: XSL command line parameter|
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 18 May 2000 12:01:19 -0600 (MDT)
> 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 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