如何以适当的格式安排数据

时间:2016-08-02 10:06:12

标签: android asp.net-web-api

我收到了这种格式的服务回复:

<ArrayOfEvents xmlns:i="http://www.w3.org/2001/XMLSchema-instance"  
xmlns="http://schemas.datacontract.org/2004/07/ClassLibrary1">
<Events>
<Comp_Name>abcd</Comp_Name>
<DateOF_Event>*****</DateOF_Event>
<EVENT_DATE>*****</EVENT_DATE>
<Event_Location>*****</Event_Location>
<Evnet_id>****</Evnet_id>
<HetUid>****</HetUid>
<Job_Desc>...</Job_Desc>
<Position_Name>****</Position_Name>
</Events>
<Events>
<Comp_Name>****</Comp_Name>
<DateOF_Event>*****</DateOF_Event>
<EVENT_DATE>*****</EVENT_DATE>
<Event_Location>*****</Event_Location>
<Evnet_id>****</Evnet_id>
<HetUid>****</HetUid>
<Job_Desc>...</Job_Desc>
<Position_Name>*****</Position_Name>
</Events>

</ArrayOfEvents>

我想在我的Android应用程序中使用此响应,如何以适当的格式进行排列。

0 个答案:

没有答案