<html>
<head>
<title>Example Inventory Operation</title>
<script language='javascript'>
function doInvReset()
{
    var testData = "<request \n"
+"    xmlns='http://digir.net/schema/protocol/2003/1.0' \n"
+"    xmlns:xsd='http://www.w3.org/2001/XMLSchema' \n"
+"    xmlns:digir='http://digir.net/schema/protocol/2003/1.0'>\n"
+"  <header>\n"
+"    <version>1.0.0</version>\n"
+"    <sendTime>20030421T170441.431Z</sendTime>\n"
+"    <source>127.0.0.1</source>\n"
+"    <destination resource='test'>http://localhost/digir/DiGIR.php</destination>\n"
+"    <destination resource='test'>http://localhost/digir/DiGIR.php</destination>\n"
+"    <type>inventory</type>\n"
+"  </header>\n"
+"  <inventory xmlns:dwc='http://digir.net/schema/conceptual/darwin/2003/1.0'>\n"
+"    <dwc:Species />\n"
+"    <count>true</count>\n"
+"  </inventory>\n"
+"</request>\n";
    document.forms.invReq.doc.value = testData;
}
</script>

</head>
<body onload='doInvReset()'>
<h1>Example Inventory Operation</h1>
<p>This is a static inventory request to the local DiGIR service. You can edit
the text to change the actual request submitted.  Pressing Reset will reload 
the default inventory request operation.  <b>Note</b> that a real request 
should set the sendTime, source, and destination elements correctly or the 
request may be rejected by a provider.</p>
<pre>
resource = test
conceptual namespace = http://digir.net/schema/conceptual/darwin/2003/1.0 
concept = Species
</pre>
<form id='invReq' action='../DiGIRm.php' method='GET'>
<textarea name='doc' id='doc' rows='18' cols='80'>
</textarea><br />
<input type='submit' value='Submit Request' />&nbsp;
<input type='button' value='Reset' onclick='doInvReset()' />
</form>
</body>
</html>