xslt.inputs.pogues-xml.templates.fods 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
The newest version!
2009-04-16T11:32:48.39 P13DT7H24M50S 783 LibreOffice/7.6.6.3$Windows_X86_64 LibreOffice_project/d97b2716a9a4a2ce1391dee1765565ea469b0ae7 2024-04-26T09:32:58.744000000 François Bulot
0
0
61045
74380
view1
2
130
2
0
0
0
99
0
95
60
true
false
false
false
false
Sheet1
1597
0
95
60
false
true
true
false
true
12632256
true
1
true
true
false
false
false
1000
1000
1
1
true
false
false
false
false
true
true
true
0
true
true
false
true
false
zxx
en
US
fr
FR
12632256
true
true
0
false
false
true
true
false
3
false
Microsoft Print to PDF
false
ZBb+/01pY3Jvc29mdCBQcmludCB0byBQREYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATWljcm9zb2Z0IFByaW50IFRvIFBERgAAAAAAAAAAAAAWAAEANhUAAAAAAAAEAAhSAAAEdAAAM1ROVwAAAAAKAE0AaQBjAHIAbwBzAG8AZgB0ACAAUAByAGkAbgB0ACAAdABvACAAUABEAEYAAAAAAAAAAAAAAAAAAAAAAAAAAAABBAMG3ABQFAMvAQABAAkAmgs0CGQAAQAPAFgCAgABAFgCAwABAEEANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAIAAAABAAAA/////0dJUzQAAAAAAAAAAAAAAABESU5VIgDIACQDLBE/XXt+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAUAAQAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgBDT01QQVRfRFVQTEVYX01PREUTAER1cGxleE1vZGU6OlVua25vd24MAFBSSU5URVJfTkFNRRYATWljcm9zb2Z0IFByaW50IHRvIFBERgsARFJJVkVSX05BTUUWAE1pY3Jvc29mdCBQcmludCBUbyBQREY=
false
1000
1000
1
1
true
false
false
true
true
true
true
7
true
Feuille1
€
-
€
€
-
€
€
-
€
€
-
€
€
€
- €
€
-
€
€
-
€
-
-
€
€
-
€
:
:
:
:
-
-
-
-
:
:
:
-
-
-
-
€
-
€
€
-
€
€
-
€
€
-
€
???
Page 1
??? (??? )
00/00/0000 , 00:00:00
Page 1 / 99
Xpath
Xpath_Mode
Match
Match_Mode
Documentation
*
enopogues:get-formulas-language
ancestor-or-self::pogues:Questionnaire/@formulasLanguage
Return the language of formulas : XPATH or VTL
pogues:Questionnaire
enopogues:exist-boolean
pogues:Datatype[not(@visualizationHint) and @xsi:type='BooleanDatatypeType']
This is used to implement the code of booleans if this return something
*
enopogues:get-agency
ancestor-or-self::pogues:Questionnaire/@agency
Return the agency that created the survey
*
enopogues:get-calculated-variables
//pogues:Variable[pogues:Formula]
with-tag
pogues:Response[@mandatory='true']
enopogues:get-ci-id
concat(enopogues:get-id(.),'-CI')
pogues:Control
enopogues:get-ci-id
enopogues:get-id(.)
pogues:Datatype
enopogues:get-code-list-id
enopogues:get-code-list-id(parent::pogues:Response)
*[pogues:Response]
enopogues:get-code-list-id
descendant-or-self::pogues:CodeListReference[parent::pogues:Response][1]
*
enopogues:get-code-list-id
enopogues:get-id(descendant-or-self::pogues:CodeListReference)
*
enopogues:get-command
pogues:Expression
with-tag
pogues:Questionnaire
enopogues:get-controls
//pogues:Control | //pogues:Response[@mandatory='true']
with-tag
Return all the controls of the Survey.
pogues:Datatype
enopogues:get-decimals
pogues:Decimals
Return the number of decimals of the data type.
*
enopogues:get-description
pogues:Description
pogues:Dimension
enopogues:get-dynamic
@dynamic
Return the dynamic attribute of the pogues:Dimension. This value is used to compute positions in grids
pogues:*
enopogues:get-expression
pogues:Expression
Expression is the default element for expressions in Pogues.
*
enopogues:get-formula
//pogues:Formula
with-tag
pogues:Control
enopogues:get-generated-instruction-id
concat(enopogues:get-id(.),'-II-',count(preceding-sibling::*[name()=current()/name()]))
pogues:Child[@xsi:type='SequenceType']
enopogues:get-generic-name
@genericName
conversion-table
Return the attribut coding the level of the sequence (QUESTIONNAIRE, MODULE, SUBMODULE,...)
*
enopogues:get-id
@id
Return the ID attribute of the element
pogues:Dimension
enopogues:get-id
enopogues:get-code-list-id(.)
pogues:CodeListReference
enopogues:get-id
./text()
The CodeListRefence element contains the ID of the CodeList it reference. It doesn't have an ID attribute
pogues:Expression
enopogues:get-id
enopogues:get-id(parent::*)
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.
pogues:Formula
enopogues:get-id
enopogues:get-id(parent::pogues:Variable)
pogues:Control
enopogues:get-id
concat(parent::pogues:*/@id,'-CI-',count(preceding-sibling::*[name()=current()/name()]))
pogues:Code
enopogues:get-id
concat(parent::pogues:CodeList/@id,'-',count(preceding-sibling::*[name()=current()/name()])+1)
The id for a l:Code is build upon the CodeList id and the rank index of the current l:Code in the CodeList
pogues:MemberReference
enopogues:get-id
.
pogues:FlowControl[not(@flowControlType)]
enopogues:get-if-true
pogues:IfTrue
Return the ID to which the GoTo aim
*
enopogues:get-ifthenelses
//pogues:IfThenElse
with-tag
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
pogues:Declaration
enopogues:get-instruction-id
enopogues:get-id(.)
pogues:Control
enopogues:get-instruction-id
enopogues:get-generated-instruction-id(.)
pogues:Declaration
enopogues:get-instruction-name
enopogues:get-name(.)
pogues:Control
enopogues:get-instruction-name
'warning'
pogues:Declaration
enopogues:get-instruction-modes
pogues:DeclarationMode
pogues:Declaration[not(@declarationType='CODECARD')]
enopogues:get-instruction-text
pogues:Text
id-variable
pogues:Control
enopogues:get-instruction-text
pogues:FailMessage
id-variable
pogues:Child
enopogues:get-instructions
pogues:Declaration
with-tag
pogues:Questionnaire
enopogues:get-instructions
//pogues:Declaration
with-tag
Return all Declarations of the survey
pogues:Questionnaire
enopogues:get-instructions-before
//pogues:Declaration[@position = 'BEFORE_QUESTION_TEXT']
with-tag
*
enopogues:get-label
pogues:Label
id-variable
Label is the default element for labels in Pogues.
*
enopogues:get-lang
'fr-FR'
Return a lang for the survey. As this information in not available in PoguesXML, it is hard-coded in this document
pogues:Response
enopogues:get-mandatory
@mandatory
Return the attribut coding if the anwser is mandatory. This part is not implemented
pogues:Datatype
enopogues:get-max-length
pogues:MaxLength
Return the maximum length of the data type
*
enopogues:get-maximum
pogues:Maximum
Return the maximal value of the data type
pogues:Datatype[not(@visualizationHint) and @xsi:type='NumericDatatypeType']
enopogues:get-maximum
pogues:Maximum
Return the maximal value of the data type
pogues:Loop
enopogues:get-maximum-occurrences
pogues:Maximum
with-tag
Return the formula of the maximum number of occurrences of a loop
pogues:Loop
enopogues:get-minimum-occurrences
pogues:Minimum
with-tag
Return the formula of the minimum number of occurrences of a loop
*
enopogues:get-minimum
pogues:Minimum
Return the minimal value of the data type
pogues:Datatype[not(@visualizationHint) and @xsi:type='NumericDatatypeType']
enopogues:get-minimum
pogues:Minimum
Return the minimal value of the data type
*
enopogues:get-name
pogues:Name
Name is the default element for names in Pogues.
pogues:Declaration
enopogues:get-name
@declarationType
conversion-table
The <d:InstructionName> of ddi InterviwerInstruction is equal to the Declaration@declarationType of PoguesXML
*
enopogues:get-parent-id
parent::*/@id
Return the ID of the parent of the current element
pogues:Declaration
enopogues:get-position
@position
Return the position for a Declaration.
pogues:Child[@xsi:type='QuestionType']
enopogues:get-qc-id
concat(enopogues:get-id(.),'-QC')
pogues:Response
enopogues:get-qop-id
concat(parent::*/@id,'-QOP-',@id)
pogues:Variable[@xsi:type='CalculatedVariableType']/pogues:Formula
enopogues:get-qop-id
enopogues:get-qop-id(parent::pogues:Variable)
pogues:Variable[@xsi:type='CalculatedVariableType']
enopogues:get-qop-id
concat(@id,'-GOP')
pogues:Variable[@xsi:type='ExternalVariableType']/pogues:Formula
enopogues:get-qop-id
enopogues:get-qop-id(parent::pogues:Variable)
pogues:Variable[@xsi:type='ExternalVariableType']
enopogues:get-qop-id
concat(@id,'-GOP')
pogues:Variable[@xsi:type='CollectedVariableType']
enopogues:get-qop-id
enopogues:get-qop-id(enopogues:get-related-response(.))
pogues:Control
enopogues:get-qop-id
enopogues:get-qop-id(pogues:FailMessage)
*[ancestor-or-self::pogues:Child[@xsi:type='QuestionType']]
enopogues:get-question-id
enopogues:get-id(ancestor-or-self::pogues:Child[@xsi:type='QuestionType'])
*[ancestor-or-self::pogues:Child[@xsi:type='QuestionType']]
enopogues:get-question-type
enopogues:get-type(ancestor-or-self::pogues:Child[@xsi:type='QuestionType'])
*
enopogues:get-questionnaire-id
enopogues:get-id(ancestor-or-self::pogues:Questionnaire)
*
enopogues:get-questions
//pogues:Child[@xsi:type='QuestionType']
with-tag
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
*
enopogues:get-questions-simple
//pogues:Child[@xsi:type='QuestionType' and @questionType=('SIMPLE','SINGLE_CHOICE','PAIRWISE')]
with-tag
Return all the simple Question of the survey (needed to drive the output order)
*
enopogues:get-questions-table
//pogues:Child[@xsi:type='QuestionType' and @questionType=('TABLE','MULTIPLE_CHOICE')]
with-tag
Return all the table Question of the survey (needed to drive the output order)
pogues:Dimension[@dimensionType='PRIMARY']
enopogues:get-rank
'1'
pogues:Dimension[@dimensionType='SECONDARY']
enopogues:get-rank
'2'
pogues:Response
enopogues:get-rdop-id
concat(parent::*/@id,'-RDOP-',@id)
pogues:Datatype
enopogues:get-rdop-id
enopogues:get-rdop-id(parent::*)
pogues:Child[not(@xsi:type='RoundaboutType')]
enopogues:get-related-controls
pogues:Control | pogues:Response[@mandatory='true']
with-tag
Return the controls related to an element, mandatory Response are equivalent to Controls.
pogues:Child[@xsi:type='RoundaboutType']
enopogues:get-related-controls
pogues:Control[not(@scope='occurrence')]
with-tag
Return the controls for all occurrences of a roundabout
pogues:Child[@xsi:type='RoundaboutType']/pogues:Loop
enopogues:get-related-controls
../pogues:Control[@scope='occurrence']
with-tag
Return the controls for all occurrences of a roundabout
pogues:Variable
enopogues:get-related-formula
pogues:Formula
with-tag
pogues:Variable
enopogues:get-related-response
//pogues:Response[pogues:CollectedVariableReference = current()/@id]
with-tag
From a Variable, you need to get related response to have Question Out Parameters.
pogues:Response[@mandatory='true']
enopogues:get-related-response
.
with-tag
From a Response (in the context of a mandatory Response), the related response is itself (the Expression is induced by the Response itself).
*[pogues:Text | pogues:FailMessage | pogues:OccurrenceLabel]
enopogues:get-related-variable
enopogues:get-related-variable(pogues:Text | pogues:FailMessage | pogues:OccurrenceLabel)
with-tag
*
enopogues:get-sequences
//pogues:Child[@xsi:type='SequenceType' and not(@id='idendquest')]
with-tag
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
*
enopogues:get-survey-name
enopogues:get-name(ancestor-or-self::pogues:Questionnaire)
pogues:IfThenElse
enopogues:get-then-id
pogues:IfTrue/@id
Return the ID of the element that result a true condition.
pogues:Response
enopogues:get-type
pogues:Datatype/@typeName
Return the type of data of a response (NUMERIC, TEXT, DATE,...)
pogues:Child[@xsi:type='QuestionType' and @questionType!='TABLE']
enopogues:get-type
@questionType
Return the type of the question (SIMPLE, SINGLE_CHOICE, MULTIPLE_CHOICE, PAIRWISE)
pogues:Child[@questionType='TABLE' and not(pogues:ResponseStructure/pogues:Dimension[@dimensionType="PRIMARY" and @dynamic != '0'])]
enopogues:get-type
@questionType
Return the type of the question : TABLE
pogues:Child[@questionType='TABLE' and pogues:ResponseStructure/pogues:Dimension[@dimensionType="PRIMARY" and @dynamic != '0']]
enopogues:get-type
'DYNAMIC_TABLE'
pogues:Control
enopogues:get-type
@criticity
conversion-table
pogues:Variable
enopogues:get-type
@xsi:type
pogues:Response
enopogues:get-type-name
pogues:Datatype/@typeName
Return the name of the type of data of a response (TEXT, NUMERIC,...)
pogues:Unit[not(../pogues:IsDynamicUnit='true')]
enopogues:get-unit
.
conversion-table
Non dynamic Unit : returns the value corresponding to the Uri
*
enopogues:get-value
pogues:Value
Value is the default element for values in Pogues.
*
enopogues:get-version
'1'
Return a version for the survey. As this information in not available in PoguesXML, it is hard-coded in this document
pogues:Response
enopogues:get-visualization-hint
pogues:Datatype/@visualizationHint
conversion-table
Return the type of visualisation of a response (checkbox, radio-button,..)
pogues:Datatype
enopogues:get-visualization-hint
@visualizationHint
conversion-table
pogues:Code
enopogues:is-discrete
if(ancestor::pogues:CodeList/pogues:Code[pogues:Parent = current()/pogues:Value]) then ('false') else('true')
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.
*
enopogues:is-question
'false'
pogues:Child[@xsi:type='QuestionType']
enopogues:is-question
'true'
*
enopogues:is-sequence
'false'
pogues:Child[@xsi:type='SequenceType']
enopogues:is-sequence
'true'
pogues:IfThenElse
enopogues:is-sequence
'true'
pogues:Loop
enopogues:is-sequence
'true'
pogues:Child[@xsi:type='RoundaboutType']
enopogues:is-sequence
'true'
*[pogues:Text or pogues:FailMessage]
enopogues:is-with-dynamic-text
enopogues:is-with-dynamic-text(*[self::pogues:Text or self::pogues:FailMessage])
pogues:Text | pogues:FailMessage
enopogues:is-with-dynamic-text
contains(.,'$')
*
enopogues:is-with-dynamic-text
'false'
pogues:Variable | pogues:Response
enopogues:get-data-type
pogues:Datatype/@typeName
*
enopogues:get-format
pogues:Format
pogues:ClarificationQuestion
enopogues:get-clarification-expression
../pogues:FlowControl[@flowControlType='CLARIFICATION' and pogues:IfTrue=current()/@id]/pogues:Expression
Expression is the default element for expressions in Pogues for clarification question
pogues:Variable[@xsi:type='CalculatedVariableType' and (not(pogues:Scope) or pogues:Scope='')]
enopogues:get-variable-group
/pogues:Questionnaire/@id
Calculated variable without Scope : Returns questionnaire id
pogues:Variable[@xsi:type='ExternalVariableType' and (not(pogues:Scope) or pogues:Scope='')]
enopogues:get-variable-group
/pogues:Questionnaire/@id
External variable without Scope : Returns questionnaire id
pogues:Variable[@xsi:type='CollectedVariableType' and (not(pogues:Scope) or pogues:Scope='') and //pogues:Child[pogues:Response/pogues:CollectedVariableReference=current()/@id][pogues:ResponseStructure/pogues:Dimension[@dimensionType="PRIMARY" and @dynamic != '0']]]
enopogues:get-variable-group
//pogues:Child[pogues:Response/pogues:CollectedVariableReference=current()/@id]/@id
Variable collected in a dynamic array : returns its question id
pogues:Variable[@xsi:type='CollectedVariableType' and (not(pogues:Scope) or pogues:Scope='') and //pogues:Child[pogues:Response/pogues:CollectedVariableReference=current()/@id][not(pogues:ResponseStructure/pogues:Dimension[@dimensionType="PRIMARY" and @dynamic != '0']) and not(@questionType='PAIRWISE')]]
enopogues:get-variable-group
/pogues:Questionnaire/@id
Variable collected out of a dynamic array or a pairwise : returns questionnaire id
pogues:Variable[@xsi:type='CollectedVariableType' and (not(pogues:Scope) or pogues:Scope='') and //pogues:Child[pogues:ClarificationQuestion//pogues:CollectedVariableReference=current()/@id][not(pogues:ResponseStructure/pogues:Dimension[@dimensionType="PRIMARY" and @dynamic != '0'])]]
enopogues:get-variable-group
/pogues:Questionnaire/@id
Variable from a clarification question, collected out of a dynamic array or a pairwise : returns questionnaire id
pogues:Variable[@xsi:type='CollectedVariableType' and (not(pogues:Scope) or pogues:Scope='') and //pogues:Child[pogues:Response/pogues:CollectedVariableReference=current()/@id]/@questionType='PAIRWISE']
enopogues:get-variable-group
//pogues:Child[pogues:Response/pogues:CollectedVariableReference=current()/@id]/@id
Returns id for question of type pairwise
pogues:Variable[pogues:Scope!='']
enopogues:get-variable-group
pogues:Scope
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=''])
pogues:Loop
enopogues:get-loop-step
pogues:Step
Return loop step
pogues:Questionnaire
enopogues:get-loops-vg
//pogues:Loop[not(pogues:IterableReference) or pogues:IterableReference = '']
with-tag
Return all loops which don't have a link to a Table or another Loop by IterableReference
pogues:Questionnaire
enopogues:get-loops
//pogues:Loop
with-tag
Return all loops
pogues:Loop | pogues:Child[@xsi:type='QuestionType' and (@questionType='TABLE' or @questionType='PAIRWISE')]
enopogues:get-scope-variables
//pogues:Variable[pogues:Scope=current()/@id]
with-tag
Return all variables linked to the table or loop by scope
pogues:Loop
enopogues:get-scope-loops
//pogues:Loop[pogues:IterableReference=current()/@id]
with-tag
Return all loops linked to the Table (Scope)
pogues:Child[@xsi:type='QuestionType' and @questionType='TABLE' and pogues:ResponseStructure/pogues:Dimension[@dimensionType='PRIMARY' and @dynamic != '0']]
enopogues:get-scope-loops
//pogues:Loop[pogues:IterableReference=current()/@id]
with-tag
Return all loops linked to the Table (Scope)
pogues:Loop
enopogues:get-loop-filter
pogues:Filter
with-tag
Return Filter value for the loop
pogues:Questionnaire
enopogues:get-filtered-loops
//pogues:Loop[pogues:Filter != '']
with-tag
Return all loops with a filter
pogues:Response
enopogues:is-not-collected
exists(../pogues:ResponseStructure/pogues:Attribute[pogues:AttributeValue='NoDataByDefinition' and pogues:AttributeTarget = current()/../pogues:ResponseStructure/pogues:Mapping[pogues:MappingSource = current()/@id]/pogues:MappingTarget])
Return true if the element match the NoDataByDefinition
pogues:Variable
enopogues:is-not-collected
@xsi:type= 'CollectedVariableType' and enopogues:is-not-collected(//pogues:Response[pogues:CollectedVariableReference=current()/@id])
Return true if the element match the NoDataByDefinition
pogues:Variable[pogues:Scope!='']
enopogues:is-question-construct
exists(//pogues:Child[@xsi:type='QuestionType' and @id=current()/pogues:Scope])
Returns true if the content of Scope refers to a question (necessary for cases of caclulated variables referring to a table)
pogues:Child[@xsi:type='QuestionType' and @questionType='PAIRWISE']
enopogues:get-pairwise-scope
//pogues:Variable[@id=current()/pogues:Scope]
with-tag
Return the scope of the pairwise
pogues:CodeList
enopogues:get-urn
@Urn
Returns the URN from the external codelist
pogues:CodeList[pogues:SuggesterParameters]
enopogues:get-suggester-parameters
pogues:SuggesterParameters/*
with-tag
Returns the parameters for the suggester responses using this codelist
pogues:Control
enopogues:is-dynamic-array-line-check
@scope='line'
Returns if a dynamic array's check is linked to its lines, not to the whole dynamic array
pogues:Response[../pogues:ResponseStructure/pogues:Attribute[pogues:AttributeValue='NoDataByDefinition' and pogues:AttributeTarget = current()/../pogues:ResponseStructure/pogues:Mapping[pogues:MappingSource = current()/@id]/pogues:MappingTarget]]
enopogues:get-cell-label
../pogues:ResponseStructure/pogues:Attribute[pogues:AttributeValue='NoDataByDefinition' and pogues:AttributeTarget = current()/../pogues:ResponseStructure/pogues:Mapping[pogues:MappingSource = current()/@id]/pogues:MappingTarget]/pogues:Label
id-variable
Returns the label of the cell
pogues:Child[@xsi:type='RoundaboutType']
enopogues:get-occurrence-label
pogues:OccurrenceLabel
id-variable
Returns the label of the occurrence for a roundabout
pogues:Child[@xsi:type='RoundaboutType']
enopogues:get-occurrence-label-variables
enopogues:get-related-variable(pogues:OccurrenceLabel)
with-tag
Returns the variables of the label of the occurrence for a roundabout
pogues:Child[@xsi:type='RoundaboutType']
enopogues:get-occurrence-description
pogues:OccurrenceDescription
id-variable
Returns the label to comment the status of an occurrence of a loop
pogues:Child[@xsi:type='RoundaboutType']
enopogues:get-occurrence-description-variables
enopogues:get-related-variable(pogues:OccurrenceDescription)
with-tag
Returns the variables of the label to comment the status of an occurrence of a loop
pogues:Child[@xsi:type='RoundaboutType']
enopogues:is-roundabout-locked
pogues:Locked != 'false'
Returns is a roundabout is locked
*
enopogues:get-roundabouts
//pogues:Child[@xsi:type='RoundaboutType']
with-tag
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