Xpath and conditionally selecting descendants based on element value of ancestors

I am hoping someone can help me with this. I am fairly new to XML parsing so XML parsing and I have only dealt with fairly simple parsing so far. I am currently stuck with the following problem... I have XML with this structure: - <members> <member> <name>David Smith</name> <information>