This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XPath's role (Was: Re: Re: . in for)
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 7 Jan 2002 15:54:39 GMT
- Subject: Re: XPath's role (Was: Re: [xsl] Re: . in for)
- References: <000d01c19790$44a01070$465169d5@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Mike
<xsl:variable name="emps"
select="//employee[some $d in $departments satisfies lower-case(./@dept) =
which reminds me, why is that $d and not d ?
I always thought that the name of the variable was a Qname, and that the
$ syntax referenced the _value_ of the variable.
(note it is name="emps" not name="$emps")
in
some $d
(and all the other similar new binding constructs in xpath2)
the token in that position is binding a variable name, not referencing
the value of a variable, so why does it have $?
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list