XPath with multiple conditions

Try:
//category[@name="Sport" and ./author/text()='James Small']

Leave a Comment