Re: [xsl] matching-pattern of xsl:key

Subject: Re: [xsl] matching-pattern of xsl:key
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 11 Dec 2001 09:59:41 GMT
> <xsl:key name="distinct-join" match="/FROM/JOIN//*" use="@table" />
> 
> This should index only all Nodes under /FROM/JOIN. But this wont work. 

what do you mean "it wont work" It looks legal (but strange) to me.

It is very strange to have a match with with an absoluet path like
/FROM
as if the document element is FROM it does nothing and if it is not,
then the key will not match anything.

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


Current Thread