File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the best way to generate XML Response

 
Abhishek Asthana
Ranch Hand
Posts: 146
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic