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

Re: xml to xml issue in XSLT2.0

Subject: Re: xml to xml issue in XSLT2.0
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 20 Nov 2007 11:45:16 +0000
Re:  xml to xml issue in XSLT2.0
On 20/11/2007, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > Do you need to worry about the delimeter here?  Just using:
> >
> > concat(../@name, @name)
> >
> > should be fine for the grouping key
>
> This obviously creates the (probably small) risk that ("AB", "C") ends up in
> the same group as ("A", "BC").

ahh, good point.  That explains Ken's reasoning for choosing a
separator that's not contained in the values eg:

"A-", "B"

and

"A", "-B"

would give the same key "A--B" if the separator was a dash - what a
gotcha that would be :)



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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-2011 All Rights Reserved.