W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > January 2006

Re: Kinds of iteration

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Tue, 10 Jan 2006 17:24:16 +0000 (GMT)
To: Jeni Tennison <jeni@jenitennison.com>, public-xml-processing-model-wg@w3.org
Message-Id: <20060110172416.A249F57DF34@macintosh.inf.ed.ac.uk>

> 1. Iteration over a sequence of elements...

Only elements?  I would have thought that we would want to allow text
nodes, and (for completeness) comments and PIs.  Attributes are a bit
more difficult, but XSLT manages to treat them as first-class.

> 2. Iteration over a sequence of documents...

Do we need to distinguish documents from document nodes?  Can we unify
1 and 2 by providing iteration over a sequence of nodes?  And
accomplish this:

>    2.c. ...created as new documents with document elements identified
>            via 1 above

by providing a mechanism to wrap an element in a generated document node?

-- Richard
Received on Tuesday, 10 January 2006 17:24:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:38 UTC