On 10/2/07, Innovimax SARL <innovimax@gmail.com> wrote: > > Ok but it suddently raise a question in my mind > > Suppose this is the content of a document > <?xml version="1.0"?> > <?my-py I like it ?> > <!-- my comment --> > <root /> > <!-- my comment --> > <?my-py I like it ?> > > If I make a for-each on it, I will loose the PI and the comments, right ? You shouldn't because they are the children of the document. The XML processing instruction isn't present as a child according to the infoset and so shouldn't be preserved when wrapped. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Principles of MathematicsReceived on Tuesday, 2 October 2007 22:43:44 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT