Hi,
I was just doing that lol. You wont believe the number of times
this has irritated me in the past. And now I find I have just made it all
up ;). Ah well. Thanks for pointing that out Erik.
Gareth
On Mon, 24 Nov 2003, Erik Rydgren wrote:
> Well Gareth now you have to read your own code a bit. ;)
> The replaceChild method on document level works like a charm for
> replacing the document root element against another element node.
>
> Best regards
> Erik Rydgren
>
> > -----Original Message-----
> > From: Gareth Reakes [mailto:[EMAIL PROTECTED]
> > Sent: den 24 november 2003 15:40
> > To: [EMAIL PROTECTED]
> > Subject: Re: Document root node
> >
> > Hi,
> > you can not, it is considered part of the document. Xerces has a
> > function to allow creation of a Document without a root node, but even
> > this is not in the specs.
> >
> > Gareth
> >
> >
> > On Mon, 24 Nov 2003, Milan Tomic wrote:
> >
> > >
> > > How can I replace document root node with some other node?
> > >
> > > Thank you.
> > >
> >
> > --
> > Gareth Reakes, Head of Product Development +44-1865-203192
> > DecisionSoft Limited
> http://www.decisionsoft.com
> > XML Development and Services
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Gareth Reakes, Head of Product Development +44-1865-203192
DecisionSoft Limited http://www.decisionsoft.com
XML Development and Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]