|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Grouping / unique list with just XPath
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/ __________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








