有人可以告诉我xpath在以下文档中选择“ FPPRNO”对的值-我需要选择“ ABC123”:

<lcc:Request Version="1" xmlns:lcc="http://LCC.Integration.Corporate.Schemas.MvcForms.MvcFormsRequestOrResponse">
         <lcc:FormType>HMORenewal</lcc:FormType>
         <lcc:Data>
            <lcc:Pair>
               <lcc:Name>LicenseRefNo</lcc:Name>
               <lcc:Value>16/XXX31/HMO</lcc:Value>
            </lcc:Pair>
            <lcc:Pair>
               <lcc:Name>FPPRNO</lcc:Name>
               <lcc:Value>ABC123</lcc:Value>
            </lcc:Pair>
                                <lcc:Pair>
               <lcc:Name>ApplyAccreditationDiscount</lcc:Name>
               <lcc:Value>False</lcc:Value>
            </lcc:Pair>
                                <lcc:Pair>
               <lcc:Name>NumberOfTenants</lcc:Name>
               <lcc:Value>5</lcc:Value>
            </lcc:Pair>
         </lcc:Data>
      </lcc:Request>

===============>>#1 票数:0 已采纳

我知道了!

//*[lcc:Name = 'FPPRNO']/lcc:Value/text()

  ask by Rob Bowman translate from so

未解决问题?本站智能推荐: