final String conMethodName = conClassName + "::toXMLString";
String strT = "";
try {
// get an Apache XMLSerializer configured to generate CDATA
XMLSerializer serializer = getXMLSerializer();
OutputFormat objOutputFormat = new OutputFormat();
// TODO in die Optionclass
objOutputFormat.setEncoding("iso-8859-1");
serializer.setOutputFormat(objOutputFormat);
StringWriter objSW = new StringWriter();
serializer.setOutputCharStream(objSW);
// marshal using the Apache XMLSerializer
objM.marshal(objO, serializer.asContentHandler());