• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the best way to generate XML Response  RSS feed

 
Abhishek Asthana
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am writing an AJAX application with Java. I have to send the XML response back to the javascript function. One option is to simply write the XML as a String simply:


But it won't be nice since my XML may be lot more complex. I read somewhere that DOM, XSLT, or other APIs can be used to generate the responses.

Can anyone give me some ideas about how to generate XML responses? Any pointers shall help.

Thanks
Abhishek
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!