xpath for missing node

前端 未结 1 2028
灰色年华
灰色年华 2021-01-04 20:00

I have the following xml:


  
     
     
     
  
  
     

        
相关标签:
1条回答
  • 2021-01-04 20:23

    Try the following xpath:

    /root/node[not(tag2)]
    
    0 讨论(0)
提交回复
热议问题