Core/src/main/java/org/openestate/io/core/XmlUtils.java
public static void replaceTextWithCData(Document doc) {
        NodeList children = doc.getChildNodes();
        for (int i = 0; i < children.getLength(); i++) {
            XmlUtils.replaceTextWithCData(doc, children.item(i));
        }
    }
public static void replaceTextWithCData(Document doc) {
        NodeList children = doc.getChildNodes();
        for (int i = 0; i < children.getLength(); i++) {
            XmlUtils.replaceTextWithCData(doc, children.item(i));
        }
    }
public static void replaceTextWithCData ( Document doc ) { NodeList children = doc . getChildNodes ( ) ; for ( int i = 0 ; i < children . getLength ( ) ; i ++ ) { XmlUtils . replaceTextWithCData ( doc , children . item ( i ) ) ; } }
Replace all text values of a {@link Document} with CDATA values.

@param doc the document to update
Replace all text values of a { @link Document } with CDATA values .