XML loop

Get help using Construct 2

Post » Sun Nov 03, 2013 5:06 pm

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 ?
B
4
Posts: 26
Reputation: 277

Return to How do I....?

Who is online

Users browsing this forum: marcoscodas and 11 guests