"<int>2</int>\n" +
"<int>3</int>\n";
Writer buffer = new StringWriter();
SaxWriter writer = new SaxWriter(false);
DataWriter outputter = new DataWriter(writer, buffer);
outputter.setIndentStep(2);
writer.setContentHandler(outputter);
xstream.marshal(new Integer(1), writer);
xstream.marshal(new Integer(2), writer);