Author: markus Date: 2006-01-06 11:03:46 +0100 (Fri, 06 Jan 2006) New Revision: 404
Modified: trunk/protocol/examples/inventory_template1.xml trunk/protocol/examples/search_template1.xml Log: moved the filter element to validate against the latest TAPIR schema
Modified: trunk/protocol/examples/inventory_template1.xml =================================================================== --- trunk/protocol/examples/inventory_template1.xml 2006-01-06 09:57:27 UTC (rev 403) +++ trunk/protocol/examples/inventory_template1.xml 2006-01-06 10:03:46 UTC (rev 404) @@ -5,13 +5,13 @@ <label>Specimen Names</label> <documentation>Search and list unique scientific names of specimen identifications ordered alphabetically by their name. The filter parameter "name" is used to build the filter</documentation> + <concepts> + <concept id="dwc:/ScientificName"/> + </concepts> <filter> <like> <concept id="dwc:/ScientificName"/> <parameter name="name"/> </like> </filter> - <concepts> - <concept id="dwc:/ScientificName"/> - </concepts> </inventoryTemplate>
Modified: trunk/protocol/examples/search_template1.xml =================================================================== --- trunk/protocol/examples/search_template1.xml 2006-01-06 09:57:27 UTC (rev 403) +++ trunk/protocol/examples/search_template1.xml 2006-01-06 10:03:46 UTC (rev 404) @@ -5,13 +5,13 @@ <label>Specimen by Name</label> <documentation>Search specimens by their scientific name. Result is returned ordered by name and catalogue number. The filter parameter "name" is used to build the filter.</documentation> + <outputModel location="http://the.same.host/output_model1.xml"/> <filter> <like> <concept id="dwc:/ScientificName"/> <parameter name="name"/> </like> </filter> - <outputModel location="http://the.same.host/output_model1.xml"/> <orderBy> <concept id="dwc:/ScientificName"/> <concept id="dwc:/CatalogNumber"/>