How can I validate that an element has specific attribute and attribute must have specific value.
For example:
<macroField dictTag="referenceNum">a2398</macroField>
I need to validate that my XML contains element name macroField with attribute dictTag=”referenceNum” and also the value of this tag is a string.
Something like this: