How can I address an elementy by XPath thats selector is not above it (but at the same level)?
E.g. I want to have the value of the item with name B. Not sure hot to do it because name and value are not in a parent relationship.
<root>
<item>
<name>A</name>
<value>1</value>
</item>
<item>
<name>B</name>
<value>2</value>
</item>
<item>
<name>C</name>
<value>3</value>
</item>
</root>