Suppose I have an XML file -
<OperationDate>
<Type> XYZ </Type>
<Qualifier> ABCD </Qualifier>
<Value>
<Date> 2021-01-22 </Date>
</Value>
</OperationDate>
<OperationDate>
<Type> PQR </Type>
<Qualifier> LMNO </Qualifier>
<Value>
<Date> 2021-02-12 </Date>
</Value>
</OperationDate>
<OperationDate>
<Type> ABC </Type>
<Qualifier> QXYZ </Qualifier>
<Value>
<Date> 2021-03-02 </Date>
</Value>
</OperationDate>
Now I want to extract the Value/Date from this snippet conditional to the Type and Qualifier, as both of them together form the identifier element for this Value.
What would be the XPath command for this particular functionality.
PS - Consider this XML file to be an autogenerated file so I can't make changes to it. I just have to extract the Value from it.
I am very new to XPath and only need it for this one functionality, I found ways to put conditions for attribute but I need condition for a child element only.