public static String convertDocumentToCDATAFormattedString ( final Document doc , final XMLFormatProperties xmlFormatProperties ) { return XMLUtilities . wrapStringInCDATA ( convertDocumentToFormattedString ( doc , xmlFormatProperties ) ) ; }
Convert a DOM Document to a Formatted String representation and wrap it in a CDATA element .