Subject: RE: Problem with using $variable in xsl:value-of
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 19 Sep 2002 14:59:11 +0100
|
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|