IDMUS - 2021-03-08

I have the following code to retrieve data from a table ina webpage:

<?xml version="1.0" encoding="UTF-8"?>

<config>
    <var-def name="webpage">
        <html-to-xml>
            <http url="http://somepage.www/tablepage"/>
        </html-to-xml>
    </var-def> 
    <loop item="currPro">
        <list>
           <xpath expression="//tr/td">
             <var name="webpage"/>
           </xpath>     
        </list>
        <body>
            <var name="currPro"></var>
        </body>

    </loop>

</config>

I need to know how the loop logic should be inside to be able to save all the elements of the list in a variable var-def