|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: newbie: Pameters in MSXML
Hi, > How can I use (receive) this parameter in the style sheet? You need to declare the parameter at the top level of the stylesheet (i.e. as a child of the xsl:stylesheet element, at the same level as the xsl:template elements) using the xsl:param element: <xsl:param name="Group" /> You can use the xsl:param element to set the default for the parameter as well, using the select attribute to set it to a boolean, number, string or node set, or its content to set it to a result tree fragment. Given you're passing it from the command line, you probably want to set it to a string, for example: <xsl:param name="Group" select="'default'" /> I hope that helps, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








