* @throws FPDLSerializerException
*/
public String workflowProcessToXMLString(WorkflowProcess workflowProcess)
throws IOException, FPDLSerializerException {
Document dom = workflowProcessToDom(workflowProcess);
OutputFormat format = new OutputFormat(" ", true);
format.setEncoding("utf-8");
ByteArrayOutputStream out = new ByteArrayOutputStream();
XMLWriter writer = new XMLWriter(out, format);
writer.write(dom);