xslt.inputs.pogues-xml.templates.xsl 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
Return the language of formulas : XPATH or VTL
This is used to implement the code of booleans if this return something
Return the agency that created the survey
Return all the controls of the Survey.
Return the number of decimals of the data type.
Return the dynamic attribute of the pogues:Dimension. This value is used to compute positions in grids
Expression is the default element for expressions in Pogues.
Return the attribut coding the level of the sequence (QUESTIONNAIRE, MODULE, SUBMODULE,...)
Return the ID attribute of the element
The CodeListRefence element contains the ID of the CodeList it reference. It doesn't have an ID attribute
Using the patent's id for pogues:Expression's id. Because of a tweak to escape from Goto, pogues:IfThenElse could contain pogues:Expression so a parent::* is needed in the Xpath instead of a parent::pogues:Control.
The id for a l:Code is build upon the CodeList id and the rank index of the current l:Code in the CodeList
Return the ID to which the GoTo aim
Return all IfThenElses elements of the survey. The with-tag of the Match_Mode column means that this template is hard-coded in the src\main\resources\xslt\inputs\pogues-xml\source-fixed.xml. This is to keep the tags as well as their content by makig a sequence instead of a value-of
Return all Declarations of the survey
Label is the default element for labels in Pogues.
Return a lang for the survey. As this information in not available in PoguesXML, it is hard-coded in this document
Return the attribut coding if the anwser is mandatory. This part is not implemented
Return the maximum length of the data type
Return the maximal value of the data type
Return the maximal value of the data type
Return the formula of the maximum number of occurrences of a loop
Return the formula of the minimum number of occurrences of a loop
Return the minimal value of the data type
Return the minimal value of the data type
Name is the default element for names in Pogues.
The <d:InstructionName> of ddi InterviwerInstruction is equal to the Declaration@declarationType of PoguesXML
Return the ID of the parent of the current element
Return the position for a Declaration.
Return all Questions elements of the survey. The with-tag of the Match_Mode column means that this template is hard-coded in the src\main\resources\xslt\inputs\pogues-xml\source-fixed.xml. This is to keep the tags as well as their content by makig a sequence instead of a value-of
Return all the simple Question of the survey (needed to drive the output order)
Return all the table Question of the survey (needed to drive the output order)
Return the controls related to an element, mandatory Response are equivalent to Controls.
Return the controls for all occurrences of a roundabout
Return the controls for all occurrences of a roundabout
From a Variable, you need to get related response to have Question Out Parameters.
From a Response (in the context of a mandatory Response), the related response is itself (the Expression is induced by the Response itself).
Return all Sequenses elements of the survey. The with-tag of the Match_Mode column means that this template is hard-coded in the src\main\resources\xslt\inputs\pogues-xml\source-fixed.xml. This is to keep the tags as well as their content by makig a sequence instead of a value-of
Return the ID of the element that result a true condition.
Return the type of data of a response (NUMERIC, TEXT, DATE,...)
Return the type of the question (SIMPLE, SINGLE_CHOICE, MULTIPLE_CHOICE, PAIRWISE)
Return the type of the question : TABLE
Return the name of the type of data of a response (TEXT, NUMERIC,...)
Non dynamic Unit : returns the value corresponding to the Uri
Value is the default element for values in Pogues.
Return a version for the survey. As this information in not available in PoguesXML, it is hard-coded in this document
Return the type of visualisation of a response (checkbox, radio-button,..)
Return the string expected as value of the isDiscrete attribut of l:code in ddi3.2 . If the Code has child codes = false, else true.
Expression is the default element for expressions in Pogues for clarification question
Calculated variable without Scope : Returns questionnaire id
External variable without Scope : Returns questionnaire id
Variable collected in a dynamic array : returns its question id
Variable collected out of a dynamic array or a pairwise : returns questionnaire id
Variable from a clarification question, collected out of a dynamic array or a pairwise : returns questionnaire id
Returns id for question of type pairwise
Return id of Table or Loop (the other function by the same name are kept just for compatibility, they must be replaced in the future by pogues:Variable[not(pogues:Scope) or pogues:Scope=''])
Return loop step
Return all loops which don't have a link to a Table or another Loop by IterableReference
Return all loops
Return all variables linked to the table or loop by scope
Return all loops linked to the Table (Scope)
Return all loops linked to the Table (Scope)
Return Filter value for the loop
Return all loops with a filter
Return true if the element match the NoDataByDefinition
Return true if the element match the NoDataByDefinition
Returns true if the content of Scope refers to a question (necessary for cases of caclulated variables referring to a table)
Return the scope of the pairwise
Returns the URN from the external codelist
Returns the parameters for the suggester responses using this codelist
Returns if a dynamic array's check is linked to its lines, not to the whole dynamic array
Returns the label of the cell
Returns the label of the occurrence for a roundabout
Returns the variables of the label of the occurrence for a roundabout
Returns the label to comment the status of an occurrence of a loop
Returns the variables of the label to comment the status of an occurrence of a loop
Returns is a roundabout is locked
Return all Roundabouts elements of the survey. The with-tag of the Match_Mode column means that this template is hard-coded in the src\main\resources\xslt\inputs\pogues-xml\source-fixed.xml. This is to keep the tags as well as their content by making a sequence instead of a value-of