Given the XML below I need to recurively select the employee who's positions.position.manager_position matches a position parameter.
How can this be achieved with linq to XML?
<employee id="0004000">
<!-- ... -->
</employee>
<employee id="0004001">
<username>Administrator</username>
<positions>
<position id="00008001" isPrimary="1">
<title>GENERAL MANAGER</title>
<manager_position>00008431</manager_position>
</position>
</positions>
</employee>
<employee id="0004002">
<!-- ... -->
</employee>