XmlNamespaceManager provided, but still get “Namespace Manager or XsltContext needed”

前端 未结 1 1077
面向向阳花
面向向阳花 2020-12-06 09:50

i am trying to read the following and select a node in it


   
           


        
相关标签:
1条回答
  • 2020-12-06 10:11

    You need to use your XmlNamespaceManager as well:

    XmlNodeList nodeList = document.SelectNodes(query, manager); 
    
    0 讨论(0)
提交回复
热议问题