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

Re: Grouping / unique list with just XPath

Subject: Re: Grouping / unique list with just XPath
From: Alexander Johannesen <alexander.johannesen@xxxxxxxxx>
Date: Fri, 18 Nov 2005 10:56:21 +1100
keys unique list
Hi,

On 11/18/05, David Carlisle <davidc@xxxxxxxxx> wrote:
> I don't really understand why you can't use keys. You indicated you
> could use the another suggested method

It's not that I can't, but I don't see the advantage in the way I read
external XML files and deal with them. First of all, it's a recursive
template that reads XML files of various schemas, so to do this with
key I need one key-set for each schema combination I want to handle.
Given that the keys are defined in the root xsl element, I need to
define about 10 different key-sets, and still have to switch between
them.

The only reason I (thought I) needed keys was because I wrongfully
thought about using keys to group the contents into unique lists. I
just stared at that solution so long so that I forgot to actually look
elsewhere for a simpler solution, that's all.


Alex
--
"Ultimately, all things are known because you want to believe you know."
                                                         - Frank Herbert
__ http://shelter.nu/ __________________________________________________

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.