For the below path in XPath, I need to have a condition for parser, where the value of the attribute is '1'
./*[local-name()='AccountNumber']/@UndocumentedAccount
I've tried a few things so far, but none seem to work
./*[local-name()='AccountNumber']/@UndocumentedAccount='1'
./*[local-name()='AccountNumber'][@UndocumentedAccount='1']
./*[local-name()='AccountNumber']/@*[UndocumentedAccount and text()='1']
I know how to build such conditions for the value of the element itself, but haven't figured out yet how to do the same for the attribute values