I am working in MFC
I would like to get all nodes from XML , with attribute with some value but value should not be null, and should not select node if no attribute present
<node att="sss"> - should be selected
<node att="sd342ss"> - should be selected
<node att=""> - empty value should not be selected
<node > - not having attribute should not be selected
how to create XPATH for this?
Given a structure like:
Your XPath to select only nodes which have an attribute and where the attribute’s value is not empty would look something like: