xslt.transformations.ddi2fo.ddi2fo-fixed.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
This stylesheet is used to transform a DDI input into an Xforms form (containing orbeon form runner adherences).
The folder containing label resources in different languages.
The properties file used by the stylesheet.
It's on a transformation level.
A variable is created to build a set of label resources in different languages.
Only the resources in languages already present in the DDI input are charged.
The properties and parameters files are charged as xml trees.
Variables from propertiers and parameters
Variables from propertiers and parameters : copying style xml tree structure with two changes :
- style attributes become attributes of the style-set tag
- overloading properties with parameters when provided by the study
Characters used to surround variables in conditioned text.
Root template :
The transformation starts with the main Sequence.
Linking output function enofo:get-body-line to input function enoddi:get-table-line.
This function has too many parameters to stay in the functions.fods file
Linking output function enofo:get-rowspan to input function enoddi:get-rowspan.
This function has too many parameters to stay in the functions.fods file
This function retrieves the languages to appear in the generated Xforms.
Those languages can be specified in a parameters file on a questionnaire level.
If not, it will get the languages defined in the DDI input.
*
Function for debugging, it outputs the input name of the element related to the driver.
Function for retrieving instructions based on the location they need to be outputted
Function for retrieving instructions based on the location they need to be outputted
Function for retrieving style for QuestionTable (only 'no-border' or '' as values yet)
Function for retrieving an index for footnote instructions (based on their ordering in the questionnaire)
Function that returns if a variable is initializable or not