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>
     ...

and

  <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,
                                          norm

-- 
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT