<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<GTSResponse command="dbget" result="success">
<Record table="Device" partial="true">
<Field name="accountID" primaryKey="true"><![CDATA[UsRentcar]]></Field>
<Field name="deviceID" primaryKey="true"><![CDATA[85412452145214]]></Field>
<Field name="lastOdometerKM">12222.0442925558</Field>
<Field name="description"><![CDATA[Toyota Land Cruser]]></Field>
</Record>
<Record table="Device" partial="true">
<Field name="accountID" primaryKey="true"><![CDATA[UsRentcar]]></Field>
<Field name="deviceID" primaryKey="true"><![CDATA[843254752364]]></Field>
<Field name="lastOdometerKM">4348.48814289997</Field>
<Field name="description"><![CDATA[Chevrolet white]]></Field>
</Record>
我在上面显示了另一个带有各种记录的响应。如何将每条记录中的两个字段值放在一起。例如 :
String [] ListDevice_&_ListDescripcion = { 85412452145214 , Toyota Land Cruser ; 843254752364, Chevrolet white ;....} ;
我该怎么做?这是我的结果。请帮忙!
name="accountID" UsRentcar
name="deviceID" 85412452145214 ; name="lastOdometerKM" 14214.0020055 ; name="description" Toyota Land Cruser ; name="accountID" UsRentcar ; name="deviceID" 843254752364; name="lastOdometerKM" 4348.488142847
name="description" Chevrolet white –