I have this
XPathExpression expr = xpath.compile("/job/entries/entry/name/text()");
I need to filter by the text value of the type property so I only get the entry objects that have the value JOB in the type.
<job>
<entries>
<entry>
<name>OperationalDataStoreToReconciled</name>
<description/>
<type>JOB</type>
</entry>
</entries>
</job>