>Everything works fine if I don't have an XML Declaration Node in my Dom
>document

What is an "XML Declaration Node"? That isn't part of the standard DOM
API...

DOM Level 2 doesn't have a model for the XML Declaration (see
http://www.w3.org/DOM/faq.html#XMLdecl). DOM Level 3 expects to add fields,
not a node, to carry this information; see the working draft at
http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3 and
http://www.w3.org/TR/DOM-Level-3-Core/core.html#Element3.


Reply via email to