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

Re: xsl:key only checks first child, need to check all

Subject: Re: xsl:key only checks first child, need to check all
From: Patrick Warren <warr0120@xxxxxxx>
Date: Fri, 28 Oct 2005 00:53:54 -0500
patrick warren
All right, it's a good thing I read the digest, and saw I made a pretty amusing typo. I had:

<xsl:key name = "authorsByFormatAndTopic" match = " author / name " use = " concat ( . , .. / .. / .. / media / format , .. / .. / .. / topics / topic [1] / contains ) " />

Which obviously would cause the problem I described. But that '[1]' was left over from me debugging. Sorry about that. It doesn't really matter whether it's there or not - I get the same results. So obviously [1] is the default when no explicit expression is given. The problem is that I can't figure out how to select all, something like [*].

So that last key should instead read:

<xsl:key name = "authorsByFormatAndTopic" match = " author / name " use = " concat ( . , .. / .. / .. / media / format , .. / .. / .. / topics / topic / contains ) " />

But the problem is still the same. Sorry for the little mistake, but the main problem is still there for anyone who can help.

Thanks,
Patrick

Current Thread

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.