aspose file tools
The moose likes XML and Related Technologies and the fly likes convert of text into xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "convert of text into xml" Watch "convert of text into xml" New topic

convert of text into xml

leela mohan

Joined: Oct 31, 2006
Posts: 13
how to convert a data or text that is obtained from database using servlet into xml
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12868
I suggest you first master the database to xml step OUTSIDE the servlet environment. Once you can write your xml to a Writer or a String, then you can think about doing it in a servlet. A google search for "java xml tutorial" should lead you to a basic tutorial.

Consider Paul's rocket mass heater.
subject: convert of text into xml