Re: [xsl] xml to xml issue in XSLT2.0

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"


"A", "-B"

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

Andrew Welch

Current Thread