[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl:key

Subject: Re: xsl:key
From: andrew.curry@xxxxxxxxxxxx
Date: Wed, 24 Sep 2003 15:06:22 +0100
xsl key for each
forget that stupid error!!!!

----- Original Message ----- 
From: <andrew.curry@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, September 24, 2003 2:58 PM
Subject: xsl:key


> Hi, im haveing a few problems using xsl:key and touch wood somewhere out
> there may be able to help.
>
> Basically i have a list of elements
>
> <tournament-round round-number="1" round-name="Round 1">
>                 <tournament-group-golf groupid="1" starting-hole="1"
> tee-off-
> time="0900+0100" course-id="215">
> ....................
>
> And i want to list through these filtering using round-number and
courseid.
>
> I hoped using a key statement instead of a foreach would be possible and
> tried....
>
>         <xsl:key name="byGroupId" match="//tournament-group-golf"
> use="concat
> (ancestor::tournament-group-golf/@round-number, '-', ./@course-id)"/>
>
> <xsl:for-each select="key('byGroupId','1-215')">
>
> Can anyone see anything fundermentally wrong?
>
> Cheers
>


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


Current Thread
  • Re: xsl:key
    • andrew . curry - Wed, 24 Sep 2003 10:07:28 -0400 (EDT) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.