| 
 
Subject: Re: [xsl] xml to xml issue in XSLT2.0 From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Tue, 20 Nov 2007 11:45:16 +0000  | 
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 | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] xml to xml issue in XSLT2, Tony Graham | Thread | [xsl] RTF to HTML transformation vi, april | 
| Re: [xsl] xml to xml issue in XSLT2, Colin Adams | Date | Re: [xsl] xml to xml issue in XSLT2, G. Ken Holman | 
| Month |