Advertisement
Guest User

Untitled

a guest
Jun 28th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.03 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" 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">
  3.    <h:head>
  4.       <h:title>testY</h:title>
  5.       <model>
  6.          <instance>
  7.             <testY id="testY" version="vZquriQQVC8QVoxsBu7whx">
  8.                <Q34 />
  9.                <stove_count />
  10.                <stove jr:template="">
  11.                   <HC3 />
  12.                   <S_HC3 />
  13.                   <HC4 />
  14.                   <HC5 />
  15.                   <pos />
  16.                   <new_option />
  17.                </stove>
  18.                <Section_7 />
  19.                <Q71 />
  20.                <Q71_Spec />
  21.                <Q72 />
  22.                <Q72_Spec />
  23.                <Q73 />
  24.                <Q73_Spec />
  25.                <Q74 />
  26.                <Q74_Spec />
  27.                <Q75 />
  28.                <Q75_Spec />
  29.                <_version__004 />
  30.                <meta>
  31.                   <instanceID />
  32.                </meta>
  33.             </testY>
  34.          </instance>
  35.          <bind nodeset="/testY/Q34" required="false()" type="int" />
  36.          <bind calculate=" /testY/Q34 " nodeset="/testY/stove_count" readonly="true()" type="string" />
  37.          <bind nodeset="/testY/stove" relevant="true()" />
  38.          <bind nodeset="/testY/stove/HC3" required="false()" type="select1" />
  39.          <bind nodeset="/testY/stove/S_HC3" relevant=" ../HC3  = '96'" required="false()" type="string" />
  40.          <bind nodeset="/testY/stove/HC4" required="false()" type="select1" />
  41.          <bind nodeset="/testY/stove/HC5" required="false()" type="select1" />
  42.          <bind calculate="position(..)" nodeset="/testY/stove/pos" type="string" />
  43.          <bind calculate="concat(jr:choice-name(indexed-repeat( /testY/stove/HC3 , /testY/stove , /testY/stove/pos ),' /testY/stove/HC3 '), ' ', jr:choice-name(indexed-repeat( /testY/stove/HC4 , /testY/stove , /testY/stove/pos ),' /testY/stove/HC4 '))" nodeset="/testY/stove/new_option" type="string" />
  44.          <bind nodeset="/testY/Section_7" readonly="true()" required="false()" type="string" />
  45.          <bind nodeset="/testY/Q71" required="false()" type="string" />
  46.          <bind nodeset="/testY/Q71_Spec" required="false()" type="select1" />
  47.          <bind nodeset="/testY/Q72" required="false()" type="string" />
  48.          <bind nodeset="/testY/Q72_Spec" required="false()" type="string" />
  49.          <bind nodeset="/testY/Q73" required="false()" type="string" />
  50.          <bind nodeset="/testY/Q73_Spec" required="false()" type="string" />
  51.          <bind nodeset="/testY/Q74" required="false()" type="string" />
  52.          <bind nodeset="/testY/Q74_Spec" required="false()" type="string" />
  53.          <bind nodeset="/testY/Q75" required="false()" type="string" />
  54.          <bind nodeset="/testY/Q75_Spec" required="false()" type="string" />
  55.          <bind calculate="'vZquriQQVC8QVoxsBu7whx'" nodeset="/testY/_version__004" type="string" />
  56.          <bind jr:preload="uid" nodeset="/testY/meta/instanceID" readonly="true()" type="string" />
  57.       </model>
  58.    </h:head>
  59.    <h:body>
  60.       <input ref="/testY/Q34">
  61.          <label>Q34. HC2. How many stoves are used to cook food for members of the household?</label>
  62.          <hint>Count all stoves, even if they are more than one of the same kind.</hint>
  63.       </input>
  64.       <group ref="/testY/stove">
  65.          <label>stoves</label>
  66.          <repeat jr:count=" /testY/stove_count " nodeset="/testY/stove">
  67.             <select1 ref="/testY/stove/HC3">
  68.                <label>Q35. HC3 *What does this household use for cooking most of the time (including cooking food, making tea/coffee, and boiling drinking water)?</label>
  69.                <hint>Please tell me the cookstove or device that is used for the most time, followed by the other cookstove(s) or device(s) used most often, if applicable.</hint>
  70.                <item>
  71.                   <label>Solar cooker (thermal energy, not solar panels)</label>
  72.                   <value>1</value>
  73.                </item>
  74.                <item>
  75.                   <label>Electric stove</label>
  76.                   <value>2</value>
  77.                </item>
  78.                <item>
  79.                   <label>Piped natural gas stove</label>
  80.                   <value>3</value>
  81.                </item>
  82.                <item>
  83.                   <label>Biogas stove</label>
  84.                   <value>4</value>
  85.                </item>
  86.                <item>
  87.                   <label>Liquefied petroleum gas (LPG)/cooking gas stove</label>
  88.                   <value>5</value>
  89.                </item>
  90.                <item>
  91.                   <label>Manufactured solid fuel stove</label>
  92.                   <value>6</value>
  93.                </item>
  94.                <item>
  95.                   <label>Traditional solid fuel stove (non-manufactured)</label>
  96.                   <value>7</value>
  97.                </item>
  98.                <item>
  99.                   <label>Liquid fuel stove</label>
  100.                   <value>8</value>
  101.                </item>
  102.                <item>
  103.                   <label>Moveable firepan</label>
  104.                   <value>9</value>
  105.                </item>
  106.                <item>
  107.                   <label>Three stone stove/open fire</label>
  108.                   <value>10</value>
  109.                </item>
  110.                <item>
  111.                   <label>Other, specify</label>
  112.                   <value>96</value>
  113.                </item>
  114.             </select1>
  115.             <input ref="/testY/stove/S_HC3">
  116.                <label>Kindly specify</label>
  117.             </input>
  118.             <select1 ref="/testY/stove/HC4">
  119.                <label>Q36. HC4. *What is the brand of the cookstove or device?</label>
  120.                <hint>The brand is the name of the company that made the stove and the name of the product. [Enumerator, fill in based on observation.]</hint>
  121.                <item>
  122.                   <label>NAME/BRAND 1</label>
  123.                   <value>1</value>
  124.                </item>
  125.                <item>
  126.                   <label>NAME/BRAND 2</label>
  127.                   <value>2</value>
  128.                </item>
  129.                <item>
  130.                   <label>NAME/BRAND 3</label>
  131.                   <value>3</value>
  132.                </item>
  133.                <item>
  134.                   <label>Other</label>
  135.                   <value>96</value>
  136.                </item>
  137.                <item>
  138.                   <label>Unknown</label>
  139.                   <value>99</value>
  140.                </item>
  141.             </select1>
  142.             <select1 ref="/testY/stove/HC5">
  143.                <label>Q37. HC5. *What type of fuel or energy source does this household use most of the time in this cookstove or device for cooking food, making tea/coffee and boiling drinking water?</label>
  144.                <item>
  145.                   <label>Alcohol/ethanol</label>
  146.                   <value>1</value>
  147.                </item>
  148.                <item>
  149.                   <label>Gasoline/diesel (not in generator)</label>
  150.                   <value>2</value>
  151.                </item>
  152.                <item>
  153.                   <label>Kerosene/paraffin</label>
  154.                   <value>3</value>
  155.                </item>
  156.                <item>
  157.                   <label>Coal/lignite unprocessed</label>
  158.                   <value>4</value>
  159.                </item>
  160.                <item>
  161.                   <label>Coal/lignite briquettes/pellets</label>
  162.                   <value>5</value>
  163.                </item>
  164.                <item>
  165.                   <label>Charcoal unprocessed</label>
  166.                   <value>6</value>
  167.                </item>
  168.                <item>
  169.                   <label>Charcoal briquettes/pellets</label>
  170.                   <value>7</value>
  171.                </item>
  172.                <item>
  173.                   <label>Wood</label>
  174.                   <value>8</value>
  175.                </item>
  176.                <item>
  177.                   <label>Agricultural or crop residue/grass/straw/shrubs/corn cobs</label>
  178.                   <value>9</value>
  179.                </item>
  180.                <item>
  181.                   <label>Animal waste/dung</label>
  182.                   <value>10</value>
  183.                </item>
  184.                <item>
  185.                   <label>Processed biomass pellets/</label>
  186.                   <value>11</value>
  187.                </item>
  188.                <item>
  189.                   <label>briquettes</label>
  190.                   <value>12</value>
  191.                </item>
  192.                <item>
  193.                   <label>Woodchips</label>
  194.                   <value>13</value>
  195.                </item>
  196.                <item>
  197.                   <label>Garbage/plastic</label>
  198.                   <value>14</value>
  199.                </item>
  200.                <item>
  201.                   <label>Sawdust</label>
  202.                   <value>15</value>
  203.                </item>
  204.                <item>
  205.                   <label>LPG/propane</label>
  206.                   <value>16</value>
  207.                </item>
  208.                <item>
  209.                   <label>Electricity</label>
  210.                   <value>17</value>
  211.                </item>
  212.                <item>
  213.                   <label>Natural gas</label>
  214.                   <value>18</value>
  215.                </item>
  216.                <item>
  217.                   <label>Biogas</label>
  218.                   <value>19</value>
  219.                </item>
  220.                <item>
  221.                   <label>Other</label>
  222.                   <value>20</value>
  223.                </item>
  224.             </select1>
  225.          </repeat>
  226.       </group>
  227.       <input ref="/testY/Section_7">
  228.          <label>Section 7: [for houses using more than one stove] Cookstove Use 2</label>
  229.       </input>
  230.       <input ref="/testY/Q71">
  231.          <label>Q71. Which stove do you usually use for breakfast?</label>
  232.       </input>
  233.       <select1 ref="/testY/Q71_Spec">
  234.          <label>Q71_Spec. Kindly specify</label>
  235.          <itemset nodeset="/testY/stove">
  236.             <value ref="new_option"/>
  237.             <label ref="new_option"/>
  238.          </itemset>
  239.       </select1>
  240.       <input ref="/testY/Q72">
  241.          <label>Q72.Which stove do you usually use for lunch?</label>
  242.       </input>
  243.       <input ref="/testY/Q72_Spec">
  244.          <label>Q72_Spec. Kindly specify</label>
  245.       </input>
  246.       <input ref="/testY/Q73">
  247.          <label>Q73.Which stove do you usually use for dinner?</label>
  248.       </input>
  249.       <input ref="/testY/Q73_Spec">
  250.          <label>Q73_Spec. Kindly specify</label>
  251.       </input>
  252.       <input ref="/testY/Q74">
  253.          <label>Q74.Which stove do you usually use for heating water for hot drinks?</label>
  254.       </input>
  255.       <input ref="/testY/Q74_Spec">
  256.          <label>Q74_Spec. Kindly specify</label>
  257.       </input>
  258.       <input ref="/testY/Q75">
  259.          <label>Q75.Which stove do you usually use for heating water for bathing or washing?</label>
  260.       </input>
  261.       <input ref="/testY/Q75_Spec">
  262.          <label>Q75_Spec. Kindly specify</label>
  263.       </input>
  264.    </h:body>
  265. </h:html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement