[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl:key


Subject: Re: [xsl] xsl:key
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Sep 2003 16:03:43 +0100

> match="//tournament-group-golf"

that's Ok but the same as

match="tournament-group-golf"

// never does anything useful in match expressions. (In xsl:template
it changes the default priority, but in xsl:key it doesn't do anything
at all)

but...

use="concat
(ancestor::tournament-group-golf/@round-number

is looking for an ancestor of the current matched element (which is a
tournament-group-golf) which has name tournament-group-golf.

but I expect you mean ../tournament-round/@round-number

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread