第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

正確的XPathExpression以檢索Java中的節(jié)點(diǎn)嗎?

正確的XPathExpression以檢索Java中的節(jié)點(diǎn)嗎?

有只小跳蛙 2021-04-02 14:11:05
我有一個(gè)具有多個(gè)hpp:HourlyHistoricalPrice元素的XML文檔,如下所示:<?xml version="1.0"><hhp:HourlyHistoricalPrices xmlns:hhp="urn:or-HourlyHistoricalPrices">  <hhp:HourlyHistoricalPrice xmlns:hhp="urn:or-HourlyHistoricalPrice">    <hhp:indexId>1025127</hhp:indexId>    <hhp:resetDate>20161231T000000</hhp:resetDate>    <hhp:refSource>AIBO</hhp:refSource>    <hhp:indexLocation/>    <hhp:price1>50,870000</hhp:price1>    ...    <hhp:price48>43,910000</hhp:price48>  </hhp:HourlyHistoricalPrice>  <hhp:HourlyHistoricalPrice xmlns:hhp="urn:or-HourlyHistoricalPrice">    <hhp:indexId>1025127</hhp:indexId>    <hhp:resetDate>20160101T000000</hhp:resetDate>    <hhp:refSource>AIBO</hhp:refSource>    <hhp:indexLocation/>    <hhp:price1>51,870000</hhp:price1>    ...    <hhp:price48>49,910000</hhp:price48>  </hhp:HourlyHistoricalPrice>  <hhp:HourlyHistoricalPrice xmlns:hhp="urn:or-HourlyHistoricalPrice">    <hhp:indexId>1025127</hhp:indexId>    <hhp:resetDate>20163112T000000</hhp:resetDate>    <hhp:refSource>APX</hhp:refSource>    <hhp:indexLocation/>    <hhp:price1>63,870000</hhp:price1>    ...    <hhp:price48>29,910000</hhp:price48>  </hhp:HourlyHistoricalPrice>  </hhp:HourlyHistoricalPrices>我只想檢索hhp:HourlyHistoricalPrice具有特定值的節(jié)點(diǎn)hhp:refSource,例如AIBO。我正在嘗試下面的XPathExpression,但這什么也找不到。
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 147 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)