This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: newbie: Pameters in MSXML


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]