Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

convert of text into xml

leela mohan
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12681
    
    5
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.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: convert of text into xml
 
Similar Threads
Convert xml file to text files using XSLT
Convert text file to XML using DOM parser
How to put clob in org.w3c.dom.Document
how to deliver a massage in a chat program
Passing the JSON Array to the servlet