Totally new to xpath.
I have xml:
<
this should do the trick:
string(//Value[@Value='b']/@CustomAttr)