Android examples for XML:XML CDATA
Wrap text to to XML CDATA
//package com.java2s; public class Main { public static String toCDATA(String text) { return "<![CDATA[" + text + "]]>"; }//from w ww . j a v a 2s. com }