*
The moose likes XML and Related Technologies and the fly likes CLOB to XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "CLOB to XML" Watch "CLOB to XML" New topic
Author

CLOB to XML

Vivek Nidhi
Ranch Hand

Joined: Aug 10, 2003
Posts: 133
Hi
Can some one suggest me how to convert a CLOB to XML representation
Thanks
Vivek Nidhi
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
What do you mean "convert a CLOB to XML representation"? Do you want to write a CLOB value inside an XML? Or do you want to save the CLOB value as an XML?
In both cases, from CLOB you can obtain the character stream. Once you have this, you can do whatever you want (write it in a CDATA, or put some logic an create an XML based on the CLOB).


blog - InfoQ.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CLOB to XML
 
Similar Threads
Convert XML data stored in a BLOB column in database back to XML format
Saving XML document in DB
how to retrieve data if the column has XML file
Callable statement return xml result
Document doc => xml => blob at mySQL