File xpdl=new File("G:\\huihoo-willow-1.1\\samples\\repository\\examples\\WEB-INF\\xpdl\\willow-xor-join.xpdl");
System.err.println(xpdl.exists()+ " "+xpdl.getAbsolutePath());
FileInputStream fis =new FileInputStream(xpdl);
XPDLParserFactory xpdlParserFactory=new XPDLParserFactoryImpl();
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);