# 使用xpath从下面的xml数据中提取出rmUID=6522FHCS1SNL0000000PDUTDY000的数据的第2行数据
<?xml version="1.0" encoding="UTF-8"?>
<DataFile
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:///C:/Users/Administrator/Desktop/schema.xsd">
<FileHeader>
<TimeStamp>2021-06-29T10:00:18</TimeStamp>
<TimeZone>UTC+8</TimeZone>
<VendorName>FH</VendorName>
<ElementType>OTN</ElementType>
<CmVersion>V1.0</CmVersion>
</FileHeader>
<Objects>
<ObjectType>SNL</ObjectType>
<FieldName>
<N i="1">grouprmUID</N>
<N i="2">nativeName</N>
<N i="3">direction</N>
<N i="4">activeState</N>
<N i="5">layer</N>
<N i="6">rate</N>
<N i="7">aEndCtprmUID1</N>
<N i="8">aEndPortrmUID1</N>
</FieldName>
<FieldValue>
<Object rmUID="6522FHCS1SNL0000000PDUT4Y000">
<V i="1">--</V>
<V i="2">
<![CDATA[233-5012-JC小区-COTP.S03.OUT/OTS-1--233-5012-JC小区-COTP.S0D.IN/OTS-1.-1534926850]]>
</V>
<V i="3">CD_UNI</V>
<V i="4">ACTIVE</V>
<V i="5">OTS</V>
<V i="6">NA</V>
<V i="7">6522FHCS1CTP10BQV8R001D0007B</V>
<V i="8">6522FHCS1PRT10BQV8R001D00000</V>
</Object>
<Object rmUID="6522FHCS1SNL0000000PDUTDY000">
<V i="1">--</V>
<V i="2">
<![CDATA[233-5010-火车站-COTP.S4B.EVEN/OTS-1--233-5010-火车站-COTP.S49.IN/OTS-1.-1534927174]]>
</V>
<V i="3">CD_UNI</V>
<V i="4">ACTIVE</V>
<V i="5">OTS</V>
<V i="6">NA</V>
<V i="7">6522FHCS1CTP10BQT5K00010007B</V>
<V i="8">6522FHCS1PRT10BQT5K000100000</V>
</Object>
</FieldValue>
</Objects>
</DataFile>
xpath:
//DataFile/Objects/FieldValue/Object[@rmUID="6522FHCS1SNL0000000PDUTDY000"]/V[@i="2"]