You don't need /
between the conditions. Join your checks with an and
:
//field[@name='addonSection.product' and text()='ProPlus']
Demo (using xmllint
):
$ xmllint input.xml --xpath "//field[@name='addonSection.product' and text()='ProPlus']"
<field name="addonSection.product">ProPlus</field>