The question is quite silly, but I am completely stuck. I want to extract child nodes of a node based on a condition. The XML is as follows:
You probably meant
//*[local-name()='a'][*[local-name()='aCode']='aaa']