How to get attribute value from node using xpath?

后端 未结 1 1822
予麋鹿
予麋鹿 2020-12-30 01:14

Totally new to xpath.

I have xml:


   
   
   <         


        
相关标签:
1条回答
  • 2020-12-30 01:56

    this should do the trick:

    string(//Value[@Value='b']/@CustomAttr)
    
    0 讨论(0)
提交回复
热议问题