Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>Loop</h:title>
- <model>
- <instance>
- <data id="build_Loop_1320712513">
- <question_group jr:template="">
- <question1/>
- <question2/>
- <question3/>
- </question_group>
- </data>
- </instance>
- <itext>
- <translation lang="eng">
- <text id="/data/question_group:label">
- <value>Question Group</value>
- </text>
- <text id="/data/question_group/question1:label">
- <value>Question 1</value>
- </text>
- <text id="/data/question_group/question1:hint">
- <value/>
- </text>
- <text id="/data/question_group/question2:label">
- <value>Question 2</value>
- </text>
- <text id="/data/question_group/question2:hint">
- <value/>
- </text>
- <text id="/data/question_group/question3:label">
- <value>Question 3</value>
- </text>
- <text id="/data/question_group/question3:hint">
- <value/>
- </text>
- </translation>
- </itext>
- <bind nodeset="/data/question_group/question1" type="int"/>
- <bind nodeset="/data/question_group/question2" type="int"/>
- <bind nodeset="/data/question_group/question3" type="int"/>
- </model>
- </h:head>
- <h:body>
- <group>
- <label ref="jr:itext('/data/question_group:label')"/>
- <repeat nodeset="/data/question_group" appearance="field-list">
- <input ref="/data/question_group/question1">
- <label ref="jr:itext('/data/question_group/question1:label')"/>
- <hint ref="jr:itext('/data/question_group/question1:hint')"/>
- </input>
- <input ref="/data/question_group/question2">
- <label ref="jr:itext('/data/question_group/question2:label')"/>
- <hint ref="jr:itext('/data/question_group/question2:hint')"/>
- </input>
- <input ref="/data/question_group/question3">
- <label ref="jr:itext('/data/question_group/question3:label')"/>
- <hint ref="jr:itext('/data/question_group/question3:hint')"/>
- </input>
- </repeat>
- </group>
- </h:body>
- </h:html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement