wiki-archive/twiki/pub/Main/BioBlitz2010SoftwareAndServ.../bioblitz_purcform.xml

98 lines
15 KiB
XML

<?xml version="1.0"?>
<PurcForm><Xform><xf:xforms xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xf:model><xf:instance id="DarwinRecord"><DarwinRecord name="Observe" id="1" formKey="new_form1"><recordedBy/><locality/><eventDate/><scientificName/><associatedMedia/></DarwinRecord></xf:instance><xf:bind id="recordedBy" nodeset="/DarwinRecord/recordedBy" type="xsd:string"/><xf:bind id="locality" nodeset="/DarwinRecord/locality" format="gps" type="xsd:string"/><xf:bind id="eventDate" nodeset="/DarwinRecord/eventDate" type="xsd:dateTime"/><xf:bind id="scientificName" nodeset="/DarwinRecord/scientificName" type="xsd:string"/><xf:bind id="associatedMedia" nodeset="/DarwinRecord/associatedMedia" format="image" type="xsd:base64Binary"/></xf:model><xf:group id="1"><xf:label>Record</xf:label><xf:select1 bind="recordedBy"><xf:label>Recorded By</xf:label></xf:select1><xf:input bind="locality"><xf:label>Location</xf:label></xf:input><xf:input bind="eventDate"><xf:label>Date</xf:label></xf:input><xf:input bind="scientificName"><xf:label>Scientific Name</xf:label></xf:input><xf:input bind="associatedMedia"><xf:label>Image</xf:label></xf:input></xf:group></xf:xforms></Xform><Layout><Form id="1">
<Page Text="Observe" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif" Binding="Observe" Width="900px" Height="632px" backgroundColor="">
<Item WidgetType="Label" Text="Recorded By" HelpText="Recorded By" Binding="recordedBy" Left="46px" Top="20px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="ListBox" HelpText="Recorded By" Binding="recordedBy" Left="152px" Top="20px" Width="200px" Height="25px" TabIndex="1" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="Label" Text="Location" HelpText="Location" Binding="locality" Left="78px" Top="60px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="TextBox" HelpText="Location" Binding="locality" Left="152px" Top="60px" Width="200px" Height="25px" TabIndex="2" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="Label" Text="Date" HelpText="Date" Binding="eventDate" Left="108px" Top="100px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="DateTimeWidget" Binding="eventDate" Left="152px" Top="100px" Width="200px" Height="25px" TabIndex="3" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="Label" Text="Scientific Name" HelpText="Scientific Name" Binding="scientificName" Left="20px" Top="140px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="TextBox" HelpText="Scientific Name" Binding="scientificName" Left="152px" Top="140px" Width="200px" Height="25px" TabIndex="4" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="GroupBox" HelpText="Image" Binding="LEFT20pxTOP180px" Left="20px" Top="180px" Width="200px" Height="245px" TabIndex="5" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif" borderStyle="dashed">
<Item WidgetType="Picture" Binding="associatedMedia" Left="10px" Top="35px" Width="185px" Height="155px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif" backgroundColor="transparent"/>
<Item WidgetType="Button" Text="Browse" HelpText="browse" Binding="browse" ParentBinding="associatedMedia" Left="10px" Top="200px" Width="70px" Height="30px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="Button" Text="Clear" HelpText="clear" Binding="clear" ParentBinding="associatedMedia" Left="120px" Top="200px" Width="70px" Height="30px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="Label" Text="Image" Binding="LEFT20pxTOP180px" Left="0px" Top="0px" Width="100%" Height="20px" TabIndex="0" color="white" fontWeight="bold" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif" backgroundColor="#8fabc7" textAlign="center" HeaderLabel="true"/></Item>
<Item WidgetType="Button" Text="Submit" HelpText="submit" Binding="submit" Left="20px" Top="455px" Width="70px" Height="30px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
<Item WidgetType="Button" Text="Cancel" HelpText="cancel" Binding="cancel" Left="220px" Top="455px" Width="70px" Height="30px" TabIndex="0" fontSize="16px" fontFamily="Verdana, 'Lucida Grande', 'Trebuchet MS', Arial, Sans-Serif"/>
</Page>
</Form>
</Layout><Language><LanguageText lang="en">
<xform id="1">
<text xpath="xforms/model/instance/DarwinRecord[@name]" value="Observe"/>
<text xpath="xforms/group[@id='1']/label" value="Record"/>
<text xpath="xforms/group[@id='1']/select1[@bind='recordedBy']/label" value="Recorded By"/>
<text xpath="xforms/group[@id='1']/input[@bind='locality']/label" value="Location"/>
<text xpath="xforms/group[@id='1']/input[@bind='eventDate']/label" value="Date"/>
<text xpath="xforms/group[@id='1']/input[@bind='scientificName']/label" value="Scientific Name"/>
<text xpath="xforms/group[@id='1']/input[@bind='associatedMedia']/label" value="Image"/>
</xform>
<Form id="1">
<text xpath="Form/Page[@Binding='Observe'][@Text]" value="Observe"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='Label'][@Text]" value="Recorded By"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='Label'][@HelpText]" value="Recorded By"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='Label'][@Top]" value="20px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='Label'][@Left]" value="46px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='ListBox'][@HelpText]" value="Recorded By"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='ListBox'][@Top]" value="20px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='ListBox'][@Left]" value="152px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='recordedBy' and @WidgetType='ListBox'][@Width]" value="200px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='Label'][@Text]" value="Location"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='Label'][@HelpText]" value="Location"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='Label'][@Top]" value="60px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='Label'][@Left]" value="78px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='TextBox'][@HelpText]" value="Location"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='TextBox'][@Top]" value="60px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='TextBox'][@Left]" value="152px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='locality' and @WidgetType='TextBox'][@Width]" value="200px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='eventDate' and @WidgetType='Label'][@Text]" value="Date"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='eventDate' and @WidgetType='Label'][@HelpText]" value="Date"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='eventDate' and @WidgetType='Label'][@Top]" value="100px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='eventDate' and @WidgetType='Label'][@Left]" value="108px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='eventDate' and @WidgetType='DateTimeWidget'][@Top]" value="100px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='eventDate' and @WidgetType='DateTimeWidget'][@Left]" value="152px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='eventDate' and @WidgetType='DateTimeWidget'][@Width]" value="200px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='Label'][@Text]" value="Scientific Name"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='Label'][@HelpText]" value="Scientific Name"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='Label'][@Top]" value="140px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='Label'][@Left]" value="20px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='TextBox'][@HelpText]" value="Scientific Name"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='TextBox'][@Top]" value="140px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='TextBox'][@Left]" value="152px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='scientificName' and @WidgetType='TextBox'][@Width]" value="200px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox'][@HelpText]" value="Image"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox'][@Top]" value="180px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox'][@Left]" value="20px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox'][@Width]" value="200px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='associatedMedia' and @WidgetType='Picture'][@Top]" value="35px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='associatedMedia' and @WidgetType='Picture'][@Left]" value="10px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='associatedMedia' and @WidgetType='Picture'][@Width]" value="185px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='browse' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Text]" value="Browse"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='browse' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@HelpText]" value="browse"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='browse' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Top]" value="200px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='browse' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Left]" value="10px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='browse' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Width]" value="70px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='clear' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Text]" value="Clear"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='clear' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@HelpText]" value="clear"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='clear' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Top]" value="200px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='clear' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Left]" value="120px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='clear' and @ParentBinding='associatedMedia' and @WidgetType='Button'][@Width]" value="70px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='Label'][@Text]" value="Image"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='Label'][@Top]" value="0px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='Label'][@Left]" value="0px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='GroupBox']/Item[@Binding='LEFT20pxTOP180px' and @WidgetType='Label'][@Width]" value="100%"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='submit' and @WidgetType='Button'][@Text]" value="Submit"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='submit' and @WidgetType='Button'][@HelpText]" value="submit"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='submit' and @WidgetType='Button'][@Top]" value="455px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='submit' and @WidgetType='Button'][@Left]" value="20px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='submit' and @WidgetType='Button'][@Width]" value="70px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='cancel' and @WidgetType='Button'][@Text]" value="Cancel"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='cancel' and @WidgetType='Button'][@HelpText]" value="cancel"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='cancel' and @WidgetType='Button'][@Top]" value="455px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='cancel' and @WidgetType='Button'][@Left]" value="220px"/>
<text xpath="Form/Page[@Binding='Observe']/Item[@Binding='cancel' and @WidgetType='Button'][@Width]" value="70px"/>
</Form>
</LanguageText>
</Language>
</PurcForm>