When you do something like /entries/entry/key='test' , I always get the returned key node. But I want a node entry. How can i get it?
/entries/entry/key='test'
My XML looks like this:
<entries> <entry> <key>test</key> </entry> </entries>
You want to select the node entry and match the value of the key subelement with the text test. This should do it:
/entries/entry[key='test']
Source: https://habr.com/ru/post/1339258/More articles:Soap client, how to call a function via HTTPS with basic HTTP authentication - phpSending HTML arguments and file path arguments? - methodsCompiler warning about printf () long unsigned int and uint32_t - cIs the left pad applied from nowhere (CSS paranormal declaration)? - jquery8000 updates per second using mysql - mysqlSpring Security Authorization Tag is always false - spring-securityUnderstanding linq completely - c #Spring I / O Security - spring-mvcnginx, thin and multiple hosts - ruby-on-railsSomething like checkstyle for C ++ to work on Linux - javaAll Articles