An honest reponse in needed for Dynamic XML creation.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ajay_luthria
Posted On:   Tuesday, August 20, 2002 05:23 AM

I need some urgent help please. I am writing MIDP applications and I am sending lots of XML Data to the Server. Now is there I way I can create the XML Dynamically rather than harcoding the XML Data in a specific format to be sent to the Server? So what I intend doing is ,take the the input parameters, create an XL document based on a DTD. Is it possible to do this please? How do I create an XML Document as per a DTD dynamically? An honest response is really appreciated!!! Ajay ajayluthria@hotmail.com    More>>

I need some urgent help please.


I am writing MIDP applications and I am sending lots
of XML Data to the Server.


Now is there I way I can create the XML Dynamically
rather than harcoding the XML Data in a specific format
to be sent to the Server?


So what I intend doing is ,take the the input parameters,
create an XL document based on a DTD.


Is it possible to do this please?


How do I create an XML Document as per a DTD dynamically?


An honest response is really appreciated!!!


Ajay

ajayluthria@hotmail.com

   <<Less

Re: An honest reponse in needed for Dynamic XML creation.

Posted By:   irfan_mansha  
Posted On:   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.



take care,


irfan mansha.
About | Sitemap | Contact