<xml id="result" javaDSOCompatible="true"><result> <row><item>pine</item><quantity>2</quantity><price>2.23</price></row> <row><item>apple</item><quantity>3</quantity><price>1</price></row> <row><item>orange</item><quantity>2.3</quantity><price>4.5</price></row> </result></xml> <TABLE DATASRC="#result"> <thead><th>Item</th><th>Price</th><th>Quantity</th><th>Sum</th> </thead> <tr> <td><input type=text datafld=item></input></td> <td><input type=text datafld=price></input></td> <td><input type=text datafld=quantity></input></td> <td><span datafld=price*quantity></span></td> </tr></TABLE>