[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 09:27:38 +1100
xslt unique list
Hey,

On 11/17/05, David Carlisle <davidc@xxxxxxxxx> wrote:
> You can use keys against any node set. I'm not sure what you mean by
> "dynamic" in this context, but if they stay still long enough to be
> captured into an xsl variable, you can index them with an xsl key.

The problem is that I don't know the schema of the incoming files but
they're channeled through a recursive single template, so fiddling
around with keys to capture something that I currently trap in
<xsl:choose /> contraptions seem a bit tricky, especially through
recursiveness. My files are reasonably small but numorous (about 50
per transformation), so the performance hit ain't currently a problem
and I fear creating bucketloads of different keys to index all the
possibilities might cause more code-bloat than I like.

And yes, XSLT 1.0; using a framework that don't support 2.0 yet.


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.