wiki-archive/twiki/pub/Main/BioBlitz2010SoftwareAndServ.../Observe.xml,v

183 lines
5.8 KiB
Plaintext

head 1.1;
access;
symbols;
locks; strict;
comment @# @;
expand @o@;
1.1
date 2010.08.03.21.03.45; author KevinRichards; state Exp;
branches;
next ;
desc
@none
@
1.1
log
@ODK Form attempt
@
text
@<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa">
<h:head>
<h:title>Observe</h:title>
<model>
<instance>
<data>
<dwc:recordedBy/>
<dwc:locality/>
<dwc:eventDate/>
<dwc:associatedMedia/>
<dwc:associatedMedia>
Voice or animal sound recording
</dwc:associatedMedia>
<dwc:scientificName/>
<dwc:individualCount/>
<dwc:sex/>
</data>
</instance>
<itext>
<translation lang="eng">
<text id="/data/dwc:recordedBy:label">
<value>Observer</value>
</text>
<text id="/data/dwc:recordedBy:hint">
<value>Your name</value>
</text>
<text id="/data/dwc:recordedBy:option0">
<value>Kevin Richards</value>
</text>
<text id="/data/dwc:locality:label">
<value>Locality</value>
</text>
<text id="/data/dwc:locality:hint">
<value>Place name</value>
</text>
<text id="/data/dwc:eventDate:label">
<value>Date</value>
</text>
<text id="/data/dwc:eventDate:hint">
<value/>
</text>
<text id="/data/dwc:associatedMedia:label">
<value>Image</value>
</text>
<text id="/data/dwc:associatedMedia:hint">
<value/>
</text>
<text id="/data/dwc:associatedMedia:label">
<value>Sound recording</value>
</text>
<text id="/data/dwc:associatedMedia:hint">
<value/>
</text>
<text id="/data/dwc:scientificName:label">
<value>Scientfic name</value>
</text>
<text id="/data/dwc:scientificName:hint">
<value/>
</text>
<text id="/data/dwc:scientificName:option0">
<value>Aus bus</value>
</text>
<text id="/data/dwc:scientificName:option1">
<value>Aus cus</value>
</text>
<text id="/data/dwc:scientificName:option2">
<value/>
</text>
<text id="/data/dwc:individualCount:label">
<value>Number of individuals</value>
</text>
<text id="/data/dwc:individualCount:hint">
<value/>
</text>
<text id="/data/dwc:sex:label">
<value>Sexes present</value>
</text>
<text id="/data/dwc:sex:hint">
<value/>
</text>
<text id="/data/dwc:sex:option0">
<value>male</value>
</text>
<text id="/data/dwc:sex:option1">
<value>female</value>
</text>
</translation>
</itext>
<bind nodeset="/data/dwc:recordedBy" required="true()"/>
<bind nodeset="/data/dwc:locality" type="geopoint"/>
<bind nodeset="/data/dwc:eventDate" type="date"/>
<bind nodeset="/data/dwc:associatedMedia" type="binary"/>
<bind nodeset="/data/dwc:associatedMedia" type="binary"/>
<bind nodeset="/data/dwc:scientificName"/>
<bind nodeset="/data/dwc:individualCount" type="int"/>
<bind nodeset="/data/dwc:sex"/>
</model>
</h:head>
<h:body>
<select1 ref="dwc:recordedBy">
<label ref="jr:itext('/data/dwc:recordedBy:label')"/>
<hint ref="jr:itext('/data/dwc:recordedBy:hint')"/>
<item>
<label ref="jr:itext('/data/dwc:recordedBy:option0')"/>
<value>Kevin Richards</value>
</item>
</select1>
<input ref="dwc:locality">
<label ref="jr:itext('/data/dwc:locality:label')"/>
<hint ref="jr:itext('/data/dwc:locality:hint')"/>
</input>
<input ref="dwc:eventDate">
<label ref="jr:itext('/data/dwc:eventDate:label')"/>
<hint ref="jr:itext('/data/dwc:eventDate:hint')"/>
</input>
<upload ref="dwc:associatedMedia" mediatype="image/*">
<label ref="jr:itext('/data/dwc:associatedMedia:label')"/>
<hint ref="jr:itext('/data/dwc:associatedMedia:hint')"/>
</upload>
<upload ref="dwc:associatedMedia" mediatype="image/*">
<label ref="jr:itext('/data/dwc:associatedMedia:label')"/>
<hint ref="jr:itext('/data/dwc:associatedMedia:hint')"/>
</upload>
<select1 ref="dwc:scientificName">
<label ref="jr:itext('/data/dwc:scientificName:label')"/>
<hint ref="jr:itext('/data/dwc:scientificName:hint')"/>
<item>
<label ref="jr:itext('/data/dwc:scientificName:option0')"/>
<value>Aus bus</value>
</item>
<item>
<label ref="jr:itext('/data/dwc:scientificName:option1')"/>
<value>Aus cus</value>
</item>
<item>
<label ref="jr:itext('/data/dwc:scientificName:option2')"/>
<value/>
</item>
</select1>
<input ref="dwc:individualCount">
<label ref="jr:itext('/data/dwc:individualCount:label')"/>
<hint ref="jr:itext('/data/dwc:individualCount:hint')"/>
</input>
<select ref="dwc:sex">
<label ref="jr:itext('/data/dwc:sex:label')"/>
<hint ref="jr:itext('/data/dwc:sex:hint')"/>
<item>
<label ref="jr:itext('/data/dwc:sex:option0')"/>
<value>male</value>
</item>
<item>
<label ref="jr:itext('/data/dwc:sex:option1')"/>
<value>female</value>
</item>
</select>
</h:body>
</h:html>
@