Archive for November, 2009

If you are using XStream to turn your Java objects to XML you may need to make some of those field values within a CDATA tag.  Here’s how you do it.
When creating a new instance of the XStream object instead of this:
XStream xstream = new XStream();
Do this:

XStream xstream = new XStream(

new XppDriver() {

About this blog

Nothing that notable about this blog. It's just going to be a place where we post random stuff.


  • free cccam: Ola great share. I think the best cccam server are those from fishbone cloud I would like to see [...]
  • FirstSam: I see you don't monetize your blog, don't waste your traffic, you can earn additional cash every m [...]
  • Arv: In else case it should invoke: super.writeText(writer, text); NOT writer.write(text); [...]
  • Chand: Hi could any one suggest, if few childs should be CDATA and dynamic value... How to get this with X [...]
  • Andrew: This is definitely a great start to the solution I need, but I need CDATA tags to be added dynamical [...]