Serialising a DOM tree that uses namespaces
0 posts in topic
Flat View  Flat View

Posted By:   Ian_Dickinson
Posted On:   Thursday, October 18, 2001 12:26 PM

I'm using Xerces 1.4.3 to build a DOM tree from scratch, which I then want to serialise out to an XML file. I'm adding elements to the DOM tree with

org.w3c.dom.Document.createElementNS( String, String )

However, when I serialise the DOM tree the structure is correct but there are no declarations. I've searched the API but I can't see how to indicate that I want namespace attributes included in the serialisation. I assume I'm missing something really obvious, but I can't see what!
About | Sitemap | Contact