* @return a StringWriter - not null
*/
private String getSerializedDocument() {
StrictStyledDOMHelper strictStyledDOMHelper =
new StrictStyledDOMHelper(null);
return strictStyledDOMHelper.render(document);
}
/**
* Getting the XFormEmulationTransformer by reflection is messy, but
* without refactoring Volantis and/or the runtime subsystem, this is the