Web-Harvest は初めてなので、理解しようとしています。HTML に次の要素を含む表があります。
<table class="tablethings">
<thead>
<tr>
<th> Table of things</th>
</tr>
</thead>
<tr>
<td> Surprise box (red)</td>
</tr>
<tr>
<td> Flower </td>
</tr>
<tr>
<td> Toycar</td>
</tr>
<tr>
<td> Object,67</td>
</tr>
</tbody>
</table>
テーブルのすべての要素をループで取得します。
<?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>
問題は、リスト上のすべての製品を単一の var-def に保存したいということです。ループ内でロジックがどのようになるかを知りたいのです。