This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: matching-pattern of xsl:key
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 11 Dec 2001 09:59:41 GMT
- Subject: Re: [xsl] matching-pattern of xsl:key
- References: <C3AD14C7A9EED31188EB00104B0756FD167E95@NT-EXCHANGE>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <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