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

Re: Wrapping of nodes into a document

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 03 Oct 2007 08:03:21 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m24ph8iewm.fsf@nwalsh.com>
/ Innovimax SARL <innovimax@gmail.com> was heard to say:
|> And I think the answer then is yes. If the for-each doesn't have a
|> select expression, then the whole document, PIs, comments, and all
|> goes through.
| Thanks Norm, that's where I was going, so in this case, your proposal seems
| to propose different behavior for (NO @select)  and for  (@select="/")
| Is this intended ?

No. Sorry. I think



  <p:for-each select="/">

are indistinguishable. The former selects all the documents that appear
on the input source; the second selects...all the documents that appear
on the input source.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Is your cucumber bitter? Throw it away.
http://nwalsh.com/            | Are there briars in your path? Turn
                              | aside. That is enough. Do not go on to
                              | say, 'Why were things of this sort ever
                              | brought into the world?'--Marcus
                              | Aurelius

Received on Wednesday, 3 October 2007 12:03:34 UTC

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