webharvest-sample-1
<?xml version="1.0" encoding="UTF-8"?>
<config charset="UTF-8">
<file action="write" path="/home/administrator/mcc_workspace/webharvest/soft/exe/xquerytest.xml">
<xquery>
<xq-param name="doc"><![CDATA[
<table>
<tr>
<td>one</td>
<td>two</td>
<td>tree</td>
</tr>
<tr>
<td>four</td>
<td>five</td>
<td>six</td>
</tr>
</table>
]]></xq-param>
<xq-expression><![CDATA[
declare variable $doc as node()* external;
<test>
<doctest>
{ for $td in $doc//td return $td }
</doctest>
</test>
]]></xq-expression>
</xquery>
</file>
</config>