嗨,我的xml文件......
<routes>
<SourceCountry> Ireland </SourceCountry>
<SourcePort> Larne </SourcePort>
<DestinationCountry> UK< /DestinationCountry>
<DestinationPort> Troon </DestinationPort>
</routes>
<routes>
<SourceCountry> Ireland </SourceCountry>
<SourcePort> Larne </SourcePort>
<DestinationCountry> UK </DestinationCountry>
<DestinationPort >Cairnryan </DestinationPort>
</routes>
<routes>
<SourceCountry> France </SourceCountry>
<SourcePort> Belfast </SourcePort>
<DestinationCountry> UK </DestinationCountry>
<DestinationPort> Birkenhead </DestinationPort>
</routes>
<routes>
<SourceCountry> France </SourceCountry>
<SourcePort> Belfast </SourcePort>
<DestinationCountry> UK </DestinationCountry>
<DestinationPort> Heysham </DestinationPort>
</routes>
我想解析<SourceCountry>
== 爱尔兰和<DestinationCountry>
== 英国的特定数据
请帮帮我
提前谢谢