Heim > Artikel > Backend-Entwicklung > PHP对XML操作2
<?xml version="1.0" encoding="UTF-8"?><flow name="myflow"> <start name="开始流程" id="xs"/> <usertask name="发起申请" id="x1"> <from type="start">xs</from> <true type="usertask">x2</true> <false type="end">xe</false> </usertask> <usertask name="审批" id="x2"> <from type="usertask">x1</from> <true type="end">x3</true> <false type="usertask">x1</false> </usertask> <end name="流程结束" id="xend"/></flow>