xsl-list
[Top] [All Lists]

Re: xsl:key

2003-09-24 08:03:43

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



<Prev in Thread] Current Thread [Next in Thread>