RE: [xsl] msxml4 - eval()?

Subject: RE: [xsl] msxml4 - eval()?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 27 Apr 2005 15:10:51 +0100
No, you don't need dynamic evaluation unless the variable holds an XPath
expression. You can simply do

*[local-name()=$var]

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Hardy Merrill [mailto:HMerrill@xxxxxxxxxxxxxxxx] 
> Sent: 27 April 2005 14:47
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] msxml4 - eval()?
> 
> We're using MSXML4 - I'm in a for-each loop in a style sheet, and have
> the name of an xml tag as the value of a variable.  How can I get the
> value(text) of that xml tag?  It seems like I need an "eval" function
> but I can't find one in the documentation - is this possible 
> in MSXML4?
> 
> TIA.
> 
> Hardy Merrill

Current Thread