WorkflowPackage workflowPackage=xpdlParserFactory.newXPDLParser().parse(fis);
XPDLSerializer serializer=new DefaultXPDLSerializer();
FileWriter writer=new FileWriter(new File("G:\\huihoo-willow-1.1\\xpdl.xml"));
serializer.serialize(workflowPackage,writer);
writer.close();
}
}