How to use jQuery for XML parsing with namespaces

后端 未结 20 1783
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 10:17

I\'m new to jQuery and would like to parse an XML document.

I\'m able to parse regular XML with the default namespaces but with XML such as:



        
20条回答
  •  生来不讨喜
    2020-11-22 10:35

    Although the above answer seems to be correct, it does not work in webkit browsers (Safari, Chrome). A better solution I believe would be:

    .find("[nodeName=z:myRow, myRow]")    
    

提交回复
热议问题