我有一個名稱空間如下的XML。用命名空間檢索XMl Xpath
<WDA.Application.Configuration xmlns="WDA.Application.Configuration">
<Portals>
<Portal PortalID="jhgjuhu6yu8678" Type="default" />
</Portals>
</WDA.Application.Configuration>
我如何可以提取X路徑,並呼籲的SelectSingleNode(* 的XPath *)。我才知道有關注冊命名空間,但如何做到這一點,並用它到底是不是clear.Can任何人請幫助我:)
你有什麼要求什麼呢? –
我想改變PortalId的值,爲此我需要檢索它的XPATH.But,因爲xml名稱空間,我無法獲得該節點。請幫助我:) – user1595214