<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>Sample</h:title>
    <model>
      <instance>
        <data id="build_Sample_1334107755">
          <name/>
          <age/>
          <date/>
          <location/>
          <image/>
        </data>
      </instance>
      <itext>
        <translation lang="eng">
          <text id="/data/name:label">
            <value>Enter your name</value>
          </text>
          <text id="/data/name:hint">
            <value/>
          </text>
          <text id="/data/age:label">
            <value>Enter your age.</value>
          </text>
          <text id="/data/age:hint">
            <value/>
          </text>
          <text id="/data/date:label">
            <value>Enter today's date</value>
          </text>
          <text id="/data/date:hint">
            <value/>
          </text>
          <text id="/data/location:label">
            <value>Capture GPS location</value>
          </text>
          <text id="/data/location:hint">
            <value>Be patient, the first time you record the GPS location, it's a cold start and may take a little longer.</value>
          </text>
          <text id="/data/image:label">
            <value>Take a photo</value>
          </text>
          <text id="/data/image:hint">
            <value>Hold the phone horizontally for best results!</value>
          </text>
        </translation>
      </itext>
      <bind nodeset="/data/name" type="string"/>
      <bind nodeset="/data/age" type="int"/>
      <bind nodeset="/data/date" type="date"/>
      <bind nodeset="/data/location" type="geopoint"/>
      <bind nodeset="/data/image" type="binary"/>
    </model>
  </h:head>
  <h:body>
    <input ref="/data/name">
      <label ref="jr:itext('/data/name:label')"/>
      <hint ref="jr:itext('/data/name:hint')"/>
    </input>
    <input ref="/data/age">
      <label ref="jr:itext('/data/age:label')"/>
      <hint ref="jr:itext('/data/age:hint')"/>
    </input>
    <input ref="/data/date">
      <label ref="jr:itext('/data/date:label')"/>
      <hint ref="jr:itext('/data/date:hint')"/>
    </input>
    <input ref="/data/location">
      <label ref="jr:itext('/data/location:label')"/>
      <hint ref="jr:itext('/data/location:hint')"/>
    </input>
    <upload ref="/data/image" mediatype="image/*">
      <label ref="jr:itext('/data/image:label')"/>
      <hint ref="jr:itext('/data/image:hint')"/>
    </upload>
  </h:body>
</h:html>