Re: An honest reponse in needed for Dynamic XML creation.
Tuesday, August 20, 2002 05:48 AM
Yeah you can create this. Don't use parse(...) method of DocumentBuilder class. Use newDocument() method of DocumentBuilder class to create new XML document dynamically. If you would like to give a reference of DTD then you have to use XSLT to enter DOCTYPE element becuase i have not found support to enter this element using DOM APIs. After create of XML document u can send use this document as input for XSL document which will genereate new XML document having DOCTYPE element.
I think it would be helpful to you.