Last active
March 25, 2021 20:56
-
-
Save MartijnR/92198f7897b99d03064fc688dce8e151 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>language-test</h:title> | |
<model odk:xforms-version="1.0.0"> | |
<itext> | |
<translation lang="English (en)"> | |
<text id="/data/a:label"> | |
<value>english</value> | |
</text> | |
</translation> | |
<translation lang="عربى (ar)"> | |
<text id="/data/a:label"> | |
<value>عربى</value> | |
</text> | |
</translation> | |
</itext> | |
<instance> | |
<data id="language-test"> | |
<a/> | |
<meta> | |
<instanceID/> | |
</meta> | |
</data> | |
</instance> | |
<bind nodeset="/data/a" type="string"/> | |
<bind jr:preload="uid" nodeset="/data/meta/instanceID" readonly="true()" type="string"/> | |
</model> | |
</h:head> | |
<h:body> | |
<input ref="/data/a"> | |
<label ref="jr:itext('/data/a:label')"/> | |
</input> | |
</h:body> | |
</h:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment