Hi,
have you tried the cloneNode method on DOMNode? This will clone
the comment above the root node if you pass in the document node.
Gareth
On Thu, 24 Oct 2002, [iso-8859-2] Zden�k N�mec wrote:
> hello,
> i have problems with copying _whole_ DOMDocument in memory.
> i am able to clone most of the document by calling importNode() onto the
> newly created doc and root element of source but this, of course, doesn't
> copy content of the DOCTYPE element, where is my external subset, and any
> comments between DOCTYPE element and the document root element too.
> - how should i handle this?
> - how i acces comment before root element?
>
> i haven't found any copy doc example. is there any?
>
> thanks for help
>
> zdenek nemec
> MapFactor s.r.o.
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Gareth Reakes, Head of Product Development
DecisionSoft Ltd. http://www.decisionsoft.com
Office: +44 (0) 1865 203192
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]