[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] for-each over sequences of sequences
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Sun, 01 Mar 2009 14:20:21 +0100

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 bflattenedb 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/


Current Thread