|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/
|
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








