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

Re: Serialize Component

From: Innovimax SARL <innovimax@gmail.com>
Date: Wed, 31 Jan 2007 22:52:08 +0100
Message-ID: <546c6c1c0701311352i3001fe41m97e6b9ac53807e36@mail.gmail.com>
To: "Alex Milowski" <alex@milowski.org>
Cc: public-xml-processing-model-wg@w3.org

So I understand that you keep the root and all its attributes, but serialize all
so
"<!--comment--><root><a/></root>"
would give
"&lt;--comment--&gt;<root>&lt;a/&gt;</root>"

which is ill formed

Am I correct ?

On 1/31/07, Alex Milowski <alex@milowski.org> wrote:
>
>
> On 1/31/07, Innovimax SARL <innovimax@gmail.com> wrote:
> > Sure for needing serialisation control as parameter, but we need more
> > Was is the expected behaviour with :
> > * comments
> > * PI
> > * attributes in the root
> > * namespace declaration in the root
> > * PI before the root
> > * PI after the root
> > * Comment before the root
> > * Comment after the root
>
>
> The way I've been doing this is by serializing everything.  If you don't
> want
> a particular child, you need to remove it *before* you hit this component.
>
>
> --
>
> --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 Mathematics


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Wednesday, 31 January 2007 21:52:31 GMT

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