0
我有這樣的例子:與XPath標籤的屬性:如何用命名空間獲取標籤的屬性值?
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wor="http://services.tdeu.telekom.net/ServAndResMgmt/TechOrderMgmt/WorkorderProvider_v01.00"
xmlns:typ="http://services.tdeu.telekom.net/ServAndResMgmt/TechOrderMgmt/WorkorderProvider_v01.00/types"
xmlns:csdg="http://schemas.telekom.net/csdg_v01.01"
xmlns:typ1="http://system-services.t-home.telekom.de/ServiceManagement/TechnicalOrderManagement/Workorder_v01.00/types"
xmlns:com="http://system-services.t-home.telekom.de/ServiceManagement/OIS_Services_v01.00/common">
<!-- other tags -->
</soapenv:Envelope>
如何獲得的「信封soapenv」的價值觀? 我試過//*:Envelope/@*[local-name()='xmlns:soapenv']
但它不起作用