Xpath expression with multiple predicates

后端 未结 4 1765
庸人自扰
庸人自扰 2020-12-14 00:01

I am trying to build a complex xpath expression which will answer the following condition.

From the XML data below, returns the User entity which:

4条回答
  •  余生分开走
    2020-12-14 01:02

    /root/user[login='user1' and name='User 1' and profile/value='admin' and profile/value='operator'
    

提交回复
热议问题