I have an XML file like
<?xml version="1.0" encoding="UTF-8"?> <form> <field name="age" type="list" default="1" description="age" label="Age" size="1" > <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </field> </form> I need to repeat the option for a fixed number of times. How can I write a loop to repeat the option? Is it possible to write a loop?