Re: [xsl] xsl:key

Subject: Re: [xsl] xsl:key
From: andrew.curry@xxxxxxxxxxxx
Date: Wed, 24 Sep 2003 16:13:44 +0100
Cheers i made a silly error and noticed just after i posted the answer!!

PA Sport RnD

Andrew Curry
Software Developer

Telephone: 01430 455545
Website:        http://www.pa.press.net

PA News Limited:
Bridgegate, Howden, East Yorkshire, DN14 7AE

Registered Office:
PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered in
England No. 3891053


----- Original Message ----- 
From: "David Carlisle" <davidc@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, September 24, 2003 4:03 PM
Subject: Re: [xsl] xsl:key


>
> > 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
>


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


Current Thread