以插件形式开发一个栏目,栏目名称“ERP待办事项”,数据来源于XML文件,数据如下(10分):
<?xml version="1.0"encoding="UTF-8"?>
<WorkToDoNAME='output' TYPE='Object' STATUS='0'>
<DataPojotype="ERP" count="1">
<DataProperty propertyname="标题">ERP待办事项测试1</DataProperty>
<DataProperty propertyname="标题描述">致远栏目ERP待办事项测试1</DataProperty>
<DataProperty propertyname="待办URL">xxx</DataProperty>
<DataProperty propertyname="待办任务发起人名称">张三</DataProperty>
<DataProperty propertyname="待办任务发起时间">2012/02/16</DataProperty>
<DataProperty propertyname="待办任务接收时间">2012/02/16</DataProperty>
<DataProperty propertyname="类型">ERP</DataProperty>
</DataPojo>
<DataPojotype="ERP" count="2">
<DataProperty propertyname="标题">ERP待办事项测试2</DataProperty>
<DataProperty propertyname="标题描述">致远栏目ERP待办事项测试2</DataProperty>
<DataProperty propertyname="待办URL">xxx</DataProperty>
<DataProperty propertyname="待办任务发起人名称">李四</DataProperty>
<DataProperty propertyname="待办任务发起时间">2012/02/20</DataProperty>
<DataProperty propertyname="待办任务接收时间">2012/02/20</DataProperty>
<DataProperty propertyname="类型">ERP</DataProperty>
</DataPojo>
</WorkToDo>