dcsimg
Add a root element to XML Document
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Venisa_Cabrilla
Posted On:   Wednesday, February 19, 2003 10:23 AM

hello,



Is there a way to add a root element to XML Document(org.w3c.dom.Document) ? The result should be an XML Document with a new root element.



Thanks in advance.



Kindest regards, Venisa Cabrilla

Re: Add a root element to XML Document

Posted By:   Roseanne_Zhang  
Posted On:   Wednesday, February 19, 2003 04:08 PM

This is my guess.


What you meant is actually change the name of root element, not switch the entire document contents with the only exceptions of XML decl and Document level PI/comments.


If I were wrong, then write a new document would be much easier.

About | Sitemap | Contact