XPath on an XML document with namespace

前端 未结 4 1983
清歌不尽
清歌不尽 2020-12-01 17:03

I\'m having this XML document with namespaces and I want to extract some nodes using XPath.

Here\'s the document:



        
4条回答
  •  旧时难觅i
    2020-12-01 17:29

    Had nearly the same problem, I forgot to add the correct namespace for xsi:type (http://www.w3.org/2001/XMLSchema-instance) was using http://www.w3.org/2001/XMLSchema and I did never get any result - now it is working the following way:

    
    

提交回复
热议问题