xslt.transformations.xml2xsl.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 generic xml structure into xsl
stylesheet.
Starting the transformation from xml by the 'Root' element.
The Root element is linked to the 'Sheet' driver.
This specific template is used to generate xslt stylesheet for Eno :
the presence of those two elements means that the input xml comes from a
drivers.fods file.
So it is linked to the 'Template' driver :
it will connect an input Xpath to a output driver through a template.
This specific template is used to generate xslt stylesheet for Eno :
the presence of those two elements means that the input xml comes from a
templates.fods file.
So it is linked to the 'Implementation' driver :
it will create a template for an input Xpath for a given input function
mode.
This specific template is used to generate xslt stylesheet for Eno :
the presence of those two elements means that the input xml comes from a
functions.fods file (in transformations folder).
So it is linked to the 'TransitionFunction' driver :
it will generate an output function which will be linked to an unique input
function.
This specific template is used to generate xslt stylesheet for Eno :
the presence of those two elements means that the input xml comes from a
functions.fods file (on transformation side).
So it is linked to the 'TransitionFunction' driver :
it will generate an output function which will return an empty text because it
isn't linked to an input function.
This specific template is used to generate xslt stylesheet for Eno :
the presence of this element means that the input xml comes from a functions.fods
file (on input side).
So it is linked to the 'SourceFunction' driver :
it will create a function who calls a template on its context.
This specific template is used to generate xslt stylesheet for Eno :
the presence of this element means that the input xml comes from a
tree-navigation.fods file (on input side).
So it is linked to the 'GetChildren' driver :
it creates a template who indicates which elements to parse after the
'Parent'.
Linking output function enoxsl:get-documentation to input function
enoxml:get-documentation.
Linking output function enoxsl:get-xpath to input function
enoxml:get-xpath.
Linking output function enoxsl:get-xpath-mode to input function
enoxml:get-xpath-mode.
Linking output function enoxsl:get-match to input function
enoxml:get-match.
Linking output function enoxsl:get-match-mode to input function
enoxml:get-match-mode.
Linking output function enoxsl:get-function to input function
enoxml:get-function.
Linking output function enoxsl:get-output-function to input function
enoxml:get-output-function.
Linking output function enoxsl:get-input-function to input function
enoxml:get-input-function.
Linking output function enoxsl:get-driver to input function
enoxml:get-driver.
Linking output function enoxsl:get-parameters to input function
enoxml:get-parameters.
Linking output function enoxsl:get-parent to input function
enoxml:get-parent.
Linking output function enoxsl:get-as to input function
enoxml:get-as.
Linking output function enoxsl:get-children to input function
enoxml:get-get-children.
Implementation of the enoxml:get-documentation function for the GenericElement element.
Implementation of the enoxml:get-xpath function for the GenericElement element.
Implementation of the enoxml:get-xpath-mode function for the GenericElement element.
Implementation of the enoxml:get-match function for the GenericElement element.
Implementation of the enoxml:get-match-mode function for the GenericElement element.
Implementation of the enoxml:get-function function for the GenericElement element.
Implementation of the enoxml:get-output-function function for the GenericElement element.
Implementation of the enoxml:get-input-function function for the GenericElement element.
Implementation of the enoxml:get-driver function for the GenericElement element.
Implementation of the enoxml:get-parameters function for the GenericElement element.
Implementation of the enoxml:get-parent function for the GenericElement element.
Implementation of the enoxml:get-as function for the GenericElement element.
Implementation of the enoxml:get-children function for the GenericElement element.
This template recursively splits a string chain on the "," character to build a set of strings.