This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: newbie: Pameters in MSXML
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sat, 24 Nov 2001 10:55:45 -0000
- Subject: RE: [xsl] newbie: Pameters in MSXML
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I'm using MSXML 4.0.
> I'm passing the parameter with the name "Group" to my style
> sheet like that:
> MSXSL -o out.html index.xml index.xsl Group='Group1'
>
> How can I use (receive) this parameter in the style sheet?
You need a top-level <xsl:param name="$Group"/>
Mike Kay
> I have wrote the string <xsl:value-of select="$Group"/> in my
> xsl file.
> MSXSL told me: "A reference to variable or parameter 'Group'
> cannot be resolved. The variable or parameter may not be
> defined, or it may not be in scope."
>
> What have I did wrong?
>
> Thanks.
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list