xslt.post-processing.lunatic-xml.end-question.end-question-household.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eno-core Show documentation
Show all versions of eno-core Show documentation
Eno is a tool that generates survey questionnaires starting from their formal description in DDI
<?xml version="1.0" encoding="UTF-8"?> <Questionnaire xmlns="http://xml.insee.fr/schema/applis/lunatic-h" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <components xsi:type="Sequence" componentType="Sequence" id="TIME-COMMENT-SEQ"> <label> <value>"Temps de réponse et commentaires"</value> <type>VTL|MD</type> </label> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <hierarchy> <sequence id="TIME-COMMENT-SEQ"> <label> <value>"Temps de réponse et commentaires"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <components xsi:type="InputNumber" componentType="InputNumber" id="TIME-QUESTION-HEURE-REMPL" mandatory="false" min="0" max="99" decimals="0"> <label> <value>"Combien de temps avez-vous mis en tout pour répondre à cette enquête (recherche des données + remplissage du questionnaire) ?"</value> <type>VTL|MD</type> </label> <unit>heures</unit> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <controls id="controls-format-borne-inf-sup" criticality="ERROR" typeOfControl="FORMAT"> <control> <value>not(not(isnull(HEURE_REMPL)) and (0>HEURE_REMPL or 99<HEURE_REMPL))</value> <type>VTL</type> </control> <errorMessage> <value>" La valeur doit être comprise entre 0 et 99."</value> <type>VTL|MD</type> </errorMessage> </controls> <controls id="controls-format-decimal" criticality="ERROR" typeOfControl="FORMAT"> <control> <value>not(not(isnull(HEURE_REMPL)) and round(HEURE_REMPL,0)<>HEURE_REMPL)</value> <type>VTL</type> </control> <errorMessage> <value>"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule."</value> <type>VTL|MD</type> </errorMessage> </controls> <hierarchy> <sequence id="TIME-COMMENT-SEQ"> <label> <value>"Temps de réponse et commentaires"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <bindingDependencies>HEURE_REMPL</bindingDependencies> <response name="HEURE_REMPL"/> <variables variableType="COLLECTED" xsi:type="VariableType"> <name>HEURE_REMPL</name> <values> <PREVIOUS xsi:nil="true"/> <COLLECTED xsi:nil="true"/> <FORCED xsi:nil="true"/> <EDITED xsi:nil="true"/> <INPUTED xsi:nil="true"/> </values> </variables> </components> <components xsi:type="InputNumber" componentType="InputNumber" id="TIME-QUESTION-MIN-REMPL" mandatory="false" min="0" max="59" decimals="0"> <label> <value/> <type>VTL|MD</type> </label> <unit>minutes</unit> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <controls id="controls-format-borne-inf-sup" criticality="ERROR" typeOfControl="FORMAT"> <control> <value>not(not(isnull(MIN_REMPL)) and (0>MIN_REMPL or 59<MIN_REMPL))</value> <type>VTL</type> </control> <errorMessage> <value>"La valeur doit être comprise entre 0 et 59."</value> <type>VTL|MD</type> </errorMessage> </controls> <controls id="controls-format-decimal" criticality="ERROR" typeOfControl="FORMAT"> <control> <value>not(not(isnull(MIN_REMPL)) and round(MIN_REMPL,0)<>MIN_REMPL)</value> <type>VTL</type> </control> <errorMessage> <value>"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule."</value> <type>VTL|MD</type> </errorMessage> </controls> <hierarchy> <sequence id="TIME-COMMENT-SEQ"> <label> <value>"Temps de réponse et commentaires"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <bindingDependencies>MIN_REMPL</bindingDependencies> <response name="MIN_REMPL"/> <variables variableType="COLLECTED" xsi:type="VariableType"> <name>MIN_REMPL</name> <values> <PREVIOUS xsi:nil="true"/> <COLLECTED xsi:nil="true"/> <FORCED xsi:nil="true"/> <EDITED xsi:nil="true"/> <INPUTED xsi:nil="true"/> </values> </variables> </components> <components xsi:type="Textarea" componentType="Textarea" id="COMMENT-QUESTION" maxLength="2000" mandatory="false"> <label> <value>"Avez-vous des remarques concernant l'enquête ou des commentaires ?"</value> <type>VTL|MD</type> </label> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <hierarchy> <sequence id="TIME-COMMENT-SEQ"> <label> <value>"Temps de réponse et commentaires"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <bindingDependencies>COMMENT_QE</bindingDependencies> <response name="COMMENT_QE"/> <variables variableType="COLLECTED" xsi:type="VariableType"> <name>COMMENT_QE</name> <values> <PREVIOUS xsi:nil="true"/> <COLLECTED xsi:nil="true"/> <FORCED xsi:nil="true"/> <EDITED xsi:nil="true"/> <INPUTED xsi:nil="true"/> </values> </variables> </components> </components> <components xsi:type="Sequence" componentType="Sequence" id="COMMENT-SEQ"> <label> <value>"Commentaire"</value> <type>VTL|MD</type> </label> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <hierarchy> <sequence id="COMMENT-SEQ"> <label> <value>"Commentaire"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <components xsi:type="Textarea" componentType="Textarea" id="COMMENT-QUESTION" maxLength="2000" mandatory="false"> <label> <value>"Avez-vous des remarques concernant l'enquête ou des commentaires ?"</value> <type>VTL|MD</type> </label> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <hierarchy> <sequence id="COMMENT-SEQ"> <label> <value>"Commentaire"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <bindingDependencies>COMMENT_QE</bindingDependencies> <response name="COMMENT_QE"/> <variables variableType="COLLECTED" xsi:type="VariableType"> <name>COMMENT_QE</name> <values> <PREVIOUS xsi:nil="true"/> <COLLECTED xsi:nil="true"/> <FORCED xsi:nil="true"/> <EDITED xsi:nil="true"/> <INPUTED xsi:nil="true"/> </values> </variables> </components> </components> <components xsi:type="Sequence" componentType="Sequence" id="TIME-SEQ"> <label> <value>"Temps de réponse"</value> <type>VTL|MD</type> </label> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <hierarchy> <sequence id="TIME-SEQ"> <label> <value>"Temps de réponse"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <components xsi:type="InputNumber" componentType="InputNumber" id="TIME-QUESTION-HEURE-REMPL" mandatory="false" min="0" max="99" decimals="0"> <label> <value>"Combien de temps avez-vous mis en tout pour répondre à cette enquête (recherche des données + remplissage du questionnaire) ?"</value> <type>VTL|MD</type> </label> <unit>heures</unit> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <hierarchy> <sequence id="TIME-SEQ"> <label> <value>"Temps de réponse"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <bindingDependencies>HEURE_REMPL</bindingDependencies> <response name="HEURE_REMPL"/> <variables variableType="COLLECTED" xsi:type="VariableType"> <name>HEURE_REMPL</name> <values> <PREVIOUS xsi:nil="true"/> <COLLECTED xsi:nil="true"/> <FORCED xsi:nil="true"/> <EDITED xsi:nil="true"/> <INPUTED xsi:nil="true"/> </values> </variables> </components> <components xsi:type="InputNumber" componentType="InputNumber" id="TIME-QUESTION-MIN-REMPL" mandatory="false" min="0" max="59" decimals="0"> <label> <value/> <type>VTL|MD</type> </label> <unit>minutes</unit> <conditionFilter> <value>true</value> <type>VTL</type> </conditionFilter> <hierarchy> <sequence id="TIME-SEQ"> <label> <value>"Temps de réponse"</value> <type>VTL|MD</type> </label> </sequence> </hierarchy> <bindingDependencies>MIN_REMPL</bindingDependencies> <response name="MIN_REMPL"/> <variables variableType="COLLECTED" xsi:type="VariableType"> <name>MIN_REMPL</name> <values> <PREVIOUS xsi:nil="true"/> <COLLECTED xsi:nil="true"/> <FORCED xsi:nil="true"/> <EDITED xsi:nil="true"/> <INPUTED xsi:nil="true"/> </values> </variables> </components> </components> </Questionnaire>