Activity Type: XML
Bulk load a set of resources into an XMLDB data resource. The collection can be created before importing the documents.
<xmlBulkLoad name="bulkload">
<collection>myCollection</collection>
<resourceSet>
<resource>
<entry id="1" xmlns:src="http://xml.apache.org/xindice/Query" src:col="/db/littleblackbook" src:key="1">
<name>Ally Antonioletti</name>
<address>826 Hume Crescent, Southampton</address>
<phone>01670061244</phone>
</entry>
</resource>
<resource>
<entry id="10" xmlns:src="http://xml.apache.org/xindice/Query" src:col="/db/littleblackbook" src:key="10">
<name>Martin Laws</name>
<address>224 Palansuriya Lane, Winchester</address>
<phone>06686142062</phone>
</entry>
</resource>
</resourceSet>
<output name="results"/>
</xmlBulkLoad>
<xmlBulkLoad name="bulkload"> <collection createIfNotExists="true">aNewCollection</collection> <fromLocal from="data"/> <output name="results"/> </xmlBulkLoad>
<xmlBulkLoad name="bulkload"> <fromLocal from="data"/> <output name="results"/> </xmlBulkLoad>
Element xmlBulkLoad:
OGSA-DAI/schema/ogsadai/xsd/activities/xml_bulk_load.xsd
OGSA-DAI/src/java/activities/uk/org/ogsadai/activity/xmldb/XMLBulkLoadActivity.java
| Up: Activities | ||
| © International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |