<?xml version="1.0"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:odk="http://www.opendatakit.org/xforms" xmlns:orx="http://openrosa.org/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>externals</h:title>
<model odk:xforms-version="1.0.0">
<instance>
<data id="externals">
<lookup/>
<shownote/>
<meta>
<instanceID/>
</meta>
</data>
</instance>
<instance id="mydata" src="jr://file/mydata.xml"/>
<instance id="mycsv" src="jr://file-csv/mycsv.csv"/>
<instance id="fruits" src="jr://file-csv/fruits.csv"/>
<bind calculate="pulldata('fruits', 'name', 'name_key', 'mango')" nodeset="/data/lookup" type="string"/>
<bind nodeset="/data/shownote" readonly="true()" type="string"/>
<bind jr:preload="uid" nodeset="/data/meta/instanceID" readonly="true()" type="string"/>
</model>
</h:head>
<h:body>
<input ref="/data/shownote">
<label> Value: <output value=" /data/lookup "/> </label>
</input>
</h:body>
</h:html>