I have the XML below:
<?xml version='1.0' ?>
<test>
<question numberQuestion=""1"">
<option>Germany</option>
<option>France</option>
</question>
<question numberQuestion=""2"">
<option>Brazil</option>
<option>Mexico</option>
</question>
</test>
I want to get all the options from the question node where Its numberQuestion attribute = 2. Can I do that with a For each node ?