Skip to content

Instantly share code, notes, and snippets.

@MartijnR
Created January 20, 2020 23:18
Show Gist options
  • Save MartijnR/54293f7cc40269c6be7bffbcf944cbcf to your computer and use it in GitHub Desktop.
Save MartijnR/54293f7cc40269c6be7bffbcf944cbcf to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<h:html xmlns="http://www.w3.org/2002/xforms"
xmlns:OpenClinica="http://openclinica.com/odm"
xmlns:enk="http://enketo.org/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:oc="http://openclinica.org/xforms"
xmlns:orx="http://openrosa.org/xforms"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>TTETETE 2</h:title>
<model>
<instance>
<TTETETE_version_2 id="114fe3d2-3ef6-4405-84a1-bd72aa6a7338-F_BEN2" version="2">
<group_cs47o52 jr:template="">
<weather/>
<how_much/>
<weather_comment oc:queryParent="weather"/>
<how_much_comment oc:queryParent="how_much"/>
</group_cs47o52>
<meta>
<instanceID/>
<instanceID_comment oc:queryParent="instanceID"/>
</meta>
</TTETETE_version_2>
</instance>
<bind nodeset="/TTETETE_version_2/group_cs47o52/weather" oc:itemgroup="group1" type="select1"/>
<bind nodeset="/TTETETE_version_2/group_cs47o52/how_much" oc:itemgroup="group1" type="int"/>
<bind calculate="concat('uuid:', uuid())" nodeset="/TTETETE_version_2/meta/instanceID" readonly="true()" type="string"/>
<bind enk:for="/TTETETE_version_2/group_cs47o52/weather" nodeset="/TTETETE_version_2/group_cs47o52/weather_comment" type="string"/>
<bind enk:for="/TTETETE_version_2/group_cs47o52/how_much" nodeset="/TTETETE_version_2/group_cs47o52/how_much_comment" type="string"/>
<!--<instance id="_users" src="jr://file-csv/users.xml"/>-->
</model>
</h:head>
<h:body class="pages theme-grid no-text-transform">
<group appearance="no-collapse" ref="/TTETETE_version_2/group_cs47o52">
<label/>
<repeat appearance="field-list" nodeset="/TTETETE_version_2/group_cs47o52">
<select1 ref="/TTETETE_version_2/group_cs47o52/weather">
<label>Weather?</label>
<item>
<label>Sunny</label>
<value>1</value>
</item>
<item>
<label>Rainy</label>
<value>2</value>
</item>
</select1>
<input ref="/TTETETE_version_2/group_cs47o52/how_much">
<label>How much?</label>
</input>
<input appearance="dn w1" ref="/TTETETE_version_2/group_cs47o52/weather_comment">
<label>Comment:</label>
</input>
<input appearance="dn w1" ref="/TTETETE_version_2/group_cs47o52/how_much_comment">
<label>Comment:</label>
</input>
</repeat>
</group>
</h:body>
</h:html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment