getFormat(setup, Format.getPrettyFormat()),
getFormat(setup, ftrimfw)};
String[] result = new String[] {expect(raw), expect(compact), expect(pretty), expect(trimfw)};
for (int i = 0; i < 4; i++) {
XMLOutputter out = new XMLOutputter(formats[i]);
ByteArrayOutputStream baos = new ByteArrayOutputStream(result[i].length() * 2);
CharArrayWriter caw = new CharArrayWriter(result[i].length() + 2);
try {
if (mstring != null) {
String rstring = (String) mstring.invoke(out, content);