I am new to XML Language. I want to hold some value on global variable
ex:
<SET name="TotalDiscount" type="VbDouble">  0  </SET>  //Declare variable outside of for loop
<FOR each="Entry">                     
    <SET name="QtyPrice" type="VbCurrency">Price</SET>
    TotalDiscount = TotalDiscount + QtyPrice  // I want to perform like this
</FOR>
//Finally i will print TotalDiscount after for loop