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

Re: Ordered union of sequences

Subject: Re: Ordered union of sequences
From: "Vladimir Nesterovsky" <vladimir@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Apr 2010 18:28:25 +0300
Re:  Ordered union of sequences
> There is an arbitrary number of sequences, sometimes
containing items
> with the same name:
> (k, o, p, c, f)
> (d, e, f, g)
> (k, f, z, o)
> (a, b, c, d)
> I want to create a master sequence which contains every item once,
> preserving the original order.

Doesn't xsl:for-each-group over combined sequence solves the problem?

No, it puts groups in order of first appearance, which would put f before d.

How this is different from proposed solution: (a, b, k, o, p, c, d, e, f, z, g) where o appears before z?

Whether the answer should contain a minimal number of inconsistencies?
Vladimir Nesterovsky

Current Thread


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.
First Name
Last Name
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.