读取xml指定值
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<cars>
<car ID="100000684" CarID="冀F33835" PhoneNumber="13933051471" Latitude="38.85945" Longitude="115.472746666667" Address="" Speed="0" Direction="25" LockState="GPS已定位 " EquipmentState="定时回传压缩数据" CarState="" AlarmState="0" GPSDatetime="2007-6-8 10:24:16" AddDate="2007-6-8 10:24:28" />
<car ID="100000685" CarID="冀F33875" PhoneNumber="15931051509" Latitude="38.85978" Longitude="115.472748333333" Address="" Speed="0" Direction="0" LockState="GPS已定位 " EquipmentState="定时回传压缩数据" CarState="" AlarmState="0" GPSDatetime="2007-6-28 12:24:03" AddDate="2007-6-28 12:24:29" />
</cars>
如何读取上面xml文件的CarID="冀F33875"的记录其他值啊,比如CarState?