I am looking to fetch a node which has an empty element.
below is my xml
<sys>
<platform>
<contact>
<name>company</name>
<LVN>test</LVN>
<address></address>
<phone>12345</phone>
<pager/>
</contact>
</platform>
</sys>
I am using the below query /sys/platform/contact[./address/text()='' and ./LVN/text()='test']
But it is not fetching anything