Try this:
//readAudit[@id='root']
This selects all readAudit
elements with the id
attribute set to root
(it should be just 1 element in your case).
You could make sure it returns maximum 1 element with this:
//readAudit[@id='root'][1]
Try this:
//readAudit[@id='root']
This selects all readAudit
elements with the id
attribute set to root
(it should be just 1 element in your case).
You could make sure it returns maximum 1 element with this:
//readAudit[@id='root'][1]