>It seems that both sets of API can lead to *exactly* the same output >when the DOM was converted back into XML.
Yes, because XML Namespaces were made to fit into the pre-existing XML syntax. If all you're going to with the DOM is write it out, you can get away with this. However, if you're going to _process_ the DOM, manipulating a namespaced document with non-namespace-aware code is asking for trouble. >creating a NS element would not necessarily create the >appropriate xmlns attribute. It won't create one in the DOM -- but you don't need it in the DOM, if you're doing namespace-aware processing of the document. When you serialize the document out to XML syntax, it is the serializer's responsibility to recognize this situation and automagically create any namespace declaration attributes which may be required. So if anything, this is easier for you than it would be using the old calls. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]