//ByteArrayOutputStream xmlData = new ByteArrayOutputStream();
joxOut = new MyJOXBeanOutputStream(fileOut);
}
try {
joxOut.writeObject(beanName(bean), bean, doctypeDeclaration);
//IndentingParser.writeIdented(outputXmlFileName);
} catch (IOException exc) {
exc.printStackTrace();
return false; //null;
} finally {