xsl-list
[Top] [All Lists]

RE: Problem with using $variable in xsl:value-of

2002-09-19 06:59:11
The strange thing is why so 
many people expect it to work. There are relatively few 
languages where you can use a string containaing a bit of 
language syntax and expect to use that as part of a language 
expression. 

I think the reason is that path expressions look a bit like file names,
and variable references in XPath look a bit like the macros in some
shell script languages, so people imagine they are dealing with macros
rather than variables.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>