Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CLOB to XML  RSS feed

 
Vivek Nidhi
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can some one suggest me how to convert a CLOB to XML representation
Thanks
Vivek Nidhi
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!