This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problem with using $variable in xsl:value-of
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 19 Sep 2002 14:59:11 +0100
- Subject: RE: [xsl] Problem with using $variable in xsl:value-of
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list