xsl-list
[Top] [All Lists]

Re: [xsl] for-each over sequences of sequences

2009-03-01 08:20:48
Martin Honnen wrote:
Stefan Krause wrote:

I run in an issue with for-each over sequences of sequences:

As far as I understand the XSLT/XPath 2.0 data model, there are no sequences of sequences in that model. There are only flat sequences.

See http://www.w3.org/TR/xpath-datamodel/#sequences:
"Sequences never contain other sequences; if sequences are combined, the result is always a “flattened” sequence. "

So the issue is not with for-each doing something special, it is the data model that only allows flat sequences.


--

        Martin Honnen
        http://JavaScript.FAQTs.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>