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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format