Re: Serialize Component

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 UTC