Re: [xsl] Ordered union of sequences
2010-04-08 10:29:14
> 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
http://www.nesterovsky-bros.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [xsl] Ordered union of sequences, (continued)
- RE: [xsl] Ordered union of sequences, Michael Kay
- Re: [xsl] Ordered union of sequences, Vladimir Nesterovsky
- RE: [xsl] Ordered union of sequences, Michael Kay
- Re: [xsl] Ordered union of sequences, Imsieke, Gerrit, le-tex
- Re: [xsl] Ordered union of sequences, Michael Müller-Hillebrand
- Re: [xsl] Ordered union of sequences, Imsieke, Gerrit, le-tex
- Re: [xsl] Ordered union of sequences, Imsieke, Gerrit, le-tex
- Re: [xsl] Ordered union of sequences, Imsieke, Gerrit, le-tex
- Re: [xsl] Ordered union of sequences, Michael Müller-Hillebrand
- Re: [xsl] Ordered union of sequences,
Vladimir Nesterovsky <=
- RE: [xsl] Ordered union of sequences, Michael Kay
- Re: [xsl] Ordered union of sequences, Michael Müller-Hillebrand
Re: [xsl] Ordered union of sequences, Wolfgang Laun
|
|
|