RE: [xsl] newbie: Pameters in MSXML

Subject: RE: [xsl] newbie: Pameters in MSXML
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sat, 24 Nov 2001 10:55:45 -0000
> 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


Current Thread