[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: newbie: Pameters in MSXML

Subject: Re: newbie: Pameters in MSXML
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 23 Nov 2001 17:32:19 +0000
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.