File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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.

I agree. Here's the link:
subject: convert of text into xml
It's not a secret anymore!