Hi,
you were right, i just thought that if i clone DOMDocument the DOCTYPE
element wont be included in new doc (it is not clean from API doc of DOMNode
* DOMNode::cloneNode ( bool deep ) const ), but it work great, thanks
DOMDocument *doc = parser->getDocument();
DOMDocument *newDoc = (DOMDocument *)doc->cloneNode(true);
again, its my failure, i ve thought about a DOMDocument as a 'document' not
as about DOMNode - now its perfectly clear to me thank to you
> //this is the original comment
> DOMNode *com = doc->getFirstChild();
regards
zdenek nemec
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]