This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XPath's role (Was: Re: Re: . in for)



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]