xslt.inputs.ddi.functions.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
2009-04-16T11:32:48.39 P3DT8H11M13S 193 LibreOffice/7.4.7.2$Windows_X86_64 LibreOffice_project/723314e595e8007d3cf785c16538505a1c878ca5 2023-10-23T10:09:54.075000000 François Bulot Athemane Dahmouh 2021-11-26T16:44:50.022000000
0
0
44117
49742
view1
1
107
2
1
0
0
87
0
100
60
true
false
Sheet1
1615
0
100
60
false
true
true
true
12632256
true
true
1
true
false
false
false
1000
1000
1
1
true
false
true
true
true
0
true
true
false
true
false
zxx
fr
FR
12632256
true
true
0
false
false
true
true
false
3
false
PDFCreator
false
RQX+/1BERkNyZWF0b3IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUERGQ3JlYXRvcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAEAYgQAAAAAAAAEAAhSAAAEdAAAM1ROVwAAAAAKAFAARABGAEMAcgBlAGEAdABvAHIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBAMG3AB8A1PvgAEBAAkAmgs0CGQAAQAPAFgCAgABAFgCAwABAEEANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQUklW4jAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgBDT01QQVRfRFVQTEVYX01PREUTAER1cGxleE1vZGU6OlVua25vd24=
false
1000
1000
1
1
true
false
true
true
true
true
7
true
Feuille1
€
-
€
€
-
€
€
-
€
€
-
€
€
-
€
€
-
€
-
€
€
- €
-
€
€
-
€
:
:
:
:
:
,
-
-
-
-
:
:
:
-
-
-
-
€
-
€
€
-
€
€
-
€
€
-
€
???
Page 1
Function
Parameters
As
Documentation
enoddi:get-id
Function that returns the id of a DDI element.
enoddi:get-label
language
Function that returns the label of a DDI element.
enoddi:get-languages
xs:string*
Function that returns the languages for a DDI element.
enoddi:get-value
xs:string
Function that returns the value of a DDI element.
enoddi:get-output-format
xs:string
Function that returns an 'output-format' for a DDI element.
enoddi:get-help-instruction
language
Function that returns an 'help-instruction' for a DDI element.
enoddi:get-external-variables
Function that returns the external variables linked to a template sequence or a loop or a dynamic array
enoddi:get-style
xs:string
Function that returns the 'style' of a DDI element.
enoddi:get-type
xs:string
Function that returns the type of a DDI element.
enoddi:get-format
xs:string?
Function that returns the format of a DDI element.
enoddi:get-hideable-command
xs:string
Function that returns the command which defines if a DDI element is hidden or not.
enoddi:get-deactivatable-command
xs:string
Function that returns the command which defines if a DDI element is deactivated or not.
enoddi:get-control
xs:string
Function that returns the 'control' linked to a DDI element.
enoddi:get-message-type
xs:string
Function that returns the type of message linked to a DDI element.
enoddi:get-variable-calculation
xs:string
Function that gives the formula of a Calculated Variable.
enoddi:get-length
xs:string
Function that returns the length of a DDI element.
enoddi:get-suffix
language
xs:string
Function that returns a suffix linked to a DDI element.
enoddi:get-levels-first-dimension
Getter function of the first level dimension elements (using the @rank attribute).
enoddi:get-levels-second-dimension
Getter function of the second level dimension elements (using the @rank attribute).
enoddi:get-codes-first-dimension
Getter function of the codes from the first level dimension elements (using the @rank attribute).
enoddi:get-title-line
index
Getter function of a title line depending on an index number.
enoddi:get-table-line
index
Getter function of a table line depending on an index number.
enoddi:get-rowspan
xs:string
Getter function of the row span of a grid element.
enoddi:get-colspan
xs:string
Getter function of the column span of a grid element.
enoddi:get-minimum-lines
xs:string
Function that returns the minimumRequired attribute for a given DDI element.
enoddi:get-maximum-lines
xs:string
Function that returns the maximumAllowed attribute for a given DDI element.
enoddi:get-computation-items
xs:string*
Very specific function that returns the set of ids of all Instructions of ComputationItems whose command descendant mentions the id of the DDI element.
enoddi:get-hideable-then
xs:string*
Very specific function that returns the set of ids of all 'hideable' Sequences inside a ThenConstructReference inside an IfThenElse whose command descendant mentions the id of the DDI element.
enoddi:get-deactivatable-then
xs:string*
Very specific function that returns the set of ids of all 'deactivatable' Sequences inside a ThenConstructReference inside an IfThenElse whose command descendant mentions the id of the DDI element.
enoddi:get-level-number
xs:string
Function that returns the levelNumber attribute for a given DDI element.
enoddi:get-minimum
xs:string
Function that returns a minimum for a DDI element.
enoddi:get-maximum
xs:string
Function that returns a maximum for a DDI element.
enoddi:get-number-of-decimals
Function that returns the decimalPositions attribute for a DDI element.
enoddi:get-container
xs:string
Function that returns the 'container' (the nature of its parent or ancestor) for a DDI element.
enoddi:get-image
xs:string
Function that returns the image linked to a code.
enoddi:get-deactivatable-ancestors
xs:string*
Function that returns the conditions of each deactivatable ancestor (useful for constraint, which must be hidden when on deactivatable zones + Eno-JS)
enoddi:get-deactivatable-ancestors-variables
xs:string*
Function that returns the variables of the conditions of each deactivatable ancestor (useful for constraint, which must be hidden when on deactivatable zones + Eno-JS)
enoddi:get-hideable-ancestors
xs:string*
Function that returns the conditions of each hideable ancestor
enoddi:get-hideable-ancestors-variables
xs:string*
Function that returns the variables of the conditions of each hideable ancestor
enoddi:get-item-label-conditioning-variables
Function that returns the variables of the personalized labels of the items of a codeList
enoddi:get-instructions-by-format
Function that returns instructions (d:Instruction) based on their format (d:InstructionName), several format names are accepted seperated by ','.
enoddi:get-instructions-by-format
format
Function that returns instructions (d:Instruction) based on their format (d:InstructionName), several format names are accepted seperated by ','.
enoddi:get-next-filter-description
Function that returns the filter description (r:Description) of a question when the next element is a filter generated from a Goto (d:IfThenElse[d:ExternalAid])
enoddi:get-previous-filter-description
Function that returns the filter description (r:Description) of a question when it's the first child of a filter not generated from a Goto (d:IfThenElse[not(d:ExternalAid)])
enoddi:get-instruction-index
formats
Function that returns the index of an Instruction (based on the number of preceding instructions matching the $formats param, several formats seperated by ',' are accepted)
enoddi:get-format-constraint
xs:string?
Function that returns the regExp of a Response
enoddi:get-question-name
language
Function that returns the short label of a Question.
enoddi:get-code-maximum-length
Function that return the maximum length of a code domain, if is blank then it is a boolean
enoddi:get-label-conditioning-variables
language
xs:string*
Function that returns the list of the variables conditioning a label
enoddi:get-variable-business-name
variable
xs:string
Function that returns the business name of a variable from its ID
enoddi:get-variable-business-ancestors
variable
xs:string*
Function that returns the business ancestors of a variable from its ID
enoddi:get-conditioning-variable-formula
variable
Function that returns the formula of a conditioning variable
enoddi:get-conditioning-variable-formula-variables
variable
xs:string*
Function that returns the variables of the formula of a conditioning variable
enoddi:get-variable-representation
variable
Function that returns the representation of a variable : text, number, boolean, date, duration
enoddi:get-variable-type
variable
Function that returns the type of a variable : external, collected, calculated
enoddi:get-variable-calculation-variables
xs:string*
Function that returns the variables of the formula of a calculated variable
enoddi:get-business-name
Function that returns the business variable from the DDI one
enoddi:get-container-name
Function that returns the name of the container of a loop or dynamic array
enoddi:get-linked-containers
Function that returns the list of the containers of a loop element
enoddi:get-descendant-loop
Function that returns the list of the descendant loops of a loop element
enoddi:get-descendant-dynamic-array
Function that returns the list of the descendant dynamic arrays of a loop element
enoddi:is-linked-loop
xs:boolean
Function that returns true if the loop is linked to another and is not the main one
enoddi:get-business-ancestors
xs:string*
Function that returns the business ascendants loop and rowloop business names from a DDI variable
enoddi:get-control-variables
xs:string*
Function that returns the list of the variables in a control-text (get-control)
enoddi:get-check-name
language
Function that returns the description (label) of a ComputationItem
enoddi:get-hideable-command-variables
xs:string*
Function that returns the list of the variables in a filter.
enoddi:get-deactivatable-command-variables
xs:string*
Function that returns the list of the variables in a filter.
enoddi:get-codelist-name
Function that returns the business name of CodeList
enoddi:get-codelist-id
Function that returns the id of CodeList
enoddi:get-minimum-responses
xs:string
Function for retrieving instructions based on the location they need to be outputted
enoddi:get-cell-value
Function that return the value of a fixed cell
enoddi:get-cell-value-variables
Function that return the variables from the value of a fixed cell
enoddi:get-flowcontrol-label
language
Function that returns the label of the flowcontrol of a filter
enoddi:is-required
xs:boolean
Function that returns a boolean which define if the response is mandatory.
enoddi:get-flowcontrol-condition
xs:string
Function that returns the expression of filter in flowControl (written in Pogues).
enoddi:get-flowcontrol-target
xs:string
Function that returns the target's business name of filter in flowControl.
enoddi:get-minimum-occurrences
xs:string
Function that returns the formula of the d:InitialValue of a d:Loop
enoddi:get-minimum-occurrences-variables
xs:string*
Function that returns the variables of the formula of the d:InitialValue of a d:Loop
enoddi:get-maximum-occurrences
xs:string
Function that returns the formula of the d:LoopWhile of a d:Loop
enoddi:get-maximum-occurrences-variables
xs:string*
Function that returns the variables of the formula of the d:LoopWhile of a d:Loop
enoddi:get-generation-instruction
variable
Function that returns the d:GenerationInstruction according to the variable (r:ID or l:VariableName/r:String)
enoddi:get-form-model
Function that returns the model (d:InstrumentName) of form.
enoddi:get-loop-filter
xs:string
Function that returns the filter of a loop
enoddi:get-loop-filter-variables
xs:string*
Function that returns the variables of the filter of a loop
enoddi:get-filtered-loop-name
Function that returns the name of the loop for its filter
enoddi:get-loop-occurrence-filter-dependencies
Function that returns the loops which occurrence filter depends on the current collected variable
enoddi:get-descendant-module-names
language
Function that returns the list of names of the descendant module type sequences of the current loop element
enoddi:get-descendant-loop-ids
Function that returns the list of Ids (and not the node compared to get-descendant-loop) of the descendant loops of the current loop element
enoddi:is-first-module-in-loop
xs:boolean
Function that returns true if the module is the first inside a loop
enoddi:is-first-calculated-variable
xs:boolean
Function that returns true if the calculated variable is the first in the ddi document
enoddi:get-module-name
language
Function that returns the short label of a Module
enoddi:get-submodule-name
language
Function that returns the short label of a SubModule
enoddi:get-question-tooltip
language
Function that returns the tooltip associated to the text of a Question
enoddi:get-question-response-tooltip
language
Function that returns the tooltip associated to the text of a response to a Question
enoddi:get-question-instruction-tooltip
language
Function that returns the tooltip associated to the text of an instruction of a Question
enoddi:get-hideable-description
language
Function that returns the description of a hideable IfThenElse
enoddi:is-module-filter
xs:boolean
Function that returns true if the ThenConstructReference or ElseConstructReference contains a module type Sequence
enoddi:is-external-variable
xs:boolean
Function that returns true if the Variable element is an external variable
enoddi:is-scope-questionconstruct
xs:boolean
Function that returns true if the calculated variable has QuestionConstruct as TypeOfObject
enoddi:is-scope-loop
xs:boolean
Function that returns true if the calculated variable has Loop as TypeOfObject
enoddi:get-scope-id
Function that returns the ID of the object which should be the scope (whether QuestionConstruct or Loop)
enoddi:is-programlanguage-xpath
xs:boolean
Function that returns true if the programming language used is Xpath
enoddi:get-control-criticality
xs:string
Function that returns the criticality of the control
enoddi:get-loop-name
language
Function that returns the name of the loop
enoddi:get-loop-first-descendant-question
language
Function that returns the first descendant question of a loop, which should be the iterator in case of a generating loop
enoddi:get-pairwise-scope
xs:string
Function that returns the variable on which the pairwise question is based on
enoddi:get-external-codelist-name
Function that returns the name of an external codelist
enoddi:get-suggester-configuration
Function that returns the configuration for a suggester