All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xslt.outputs.lunatic-xml.models.xsl Maven / Gradle / Ivy

Go to download

Eno is a tool that generates survey questionnaires starting from their formal description in DDI

The newest version!



	
		
			An xslt stylesheet who transforms an input into js through generic driver templates.
			The real input is mapped with the drivers.
		
	

	

	
		VariableGroup only leads to its children
	
	
		
		
			
		
	

	
		template Variable is used only for external variables : TODO : refactor for other ones
	
	
		
		
		
			
				
				
			
		
	

	
		
			Match on Form driver.
			It writes the root of the document with the main title.
		
	
	
		
		
		
		
		
		
			
			
				
				
			
		
	


	
		
			Match on QuestionLoop driver
		
	
	
		
		
		
		
		
		
		
		
		
		
		
		

		
		
		
		
		

		
		
		
		
		
		
		
		
		
			
				
			
			
				
			
			
				
			
			
				
			
		
		

		
			
			
				
					
						
							
							
						
					
					
				
				
					
						
					
					
						
							
							
						
						
							
							
						
					
				
			
			
				
					
				
			
			
				
			
			
			
				
					
				
			
			

			
			
				
					
					
				
			

			
				
				
				
				
			
		

	

	
		
			Match on Module and SubModule drivers.
		
	
	
		
		
		

		
		
			
				
				
			
		
		
		
		
		
		
		
		
		
			
				
			
		
		

		
			
				
					
						
					
				
				
			
		
		
			
				
					
						
					
				
			
		

		
			
			
			
			
				
				
			
			
			
				
				
				
			
		
	

	
		filters do not create a component because their condition is borne by each of their descendants
	
	
		
		
			
		
	

	
		SingleResponseQuestion and MultipleQuestion drivers do not create a component : it is created by its response
	
	
		
		
		

		
		
		
		
		
		
		
		
			
				
			
			
				
			
		
		

		
			
			
			
			
			
			
			
			
			
			
		

		
			
		
	

	
		PairwiseQuestion driver creates a component which is likely a loop of loop, with the same axises : for example, the link between people of the same household
	
	
		
		
		
		
		
		

		
		
		
		
		
		
		
		
		
		
		
			
				
			
		
		

		
			
			
				
				
			
			
				count()
				VTL
			
			
				count()
				VTL
			
			
				
				
					1
					1
				
				
					2
					3
				
				
					3
					2
				
				
					4
					4
				
				
					5
					6
				
				
					6
					5
				
				
					7
					8
				
				
					8
					7
				
				
					9
					10
				
				
					10
					9
				
				
					11
					13
				
				
					12
					12
				
				
					13
					11
				
				
					14
					null
				
				
					15
					null
				
				
					16
					16
				
				
					17
					17
				
				
					18
					18
				
			
			
				
				
				
				
				
				
				
				
				
				
			
		
		
			
				
				
					
					VTL
				
				
				
			
		
		
			
		
	

	
		MultipleChoiceQuestion driver creates a CheckboxGroup component
	
	
		
		
		
		
		
		
		

		
		
		

		
		
		
		
		
		
		
			
				
			
			
				
			
		
		

		
			
			
			
			
				
				
			
			
				
					
				
			
			
			
				
				
				
				
				
				
				
			
		

		
			
				
				
				
				
				
			
		
		
			
				
				
				
				
			
		

		
			
		
	

	
		Table / TableLoop drivers create a Table component
	
	
		
		
		
		
		
		
		

		
		
		
		
		
		
		
		
		
		
			
				
			
			
				
			
		
		
		
			
				
				
			
		
		
		
		

		
			
			
			
			
				
				
			
			
				
					
				
			
			
			
				
					
						
						
					
					
						
						
					
				
			
			
				
					
					
					
					
				
			

			
				
					
						
							
							
						
					
					
						
							
								
								
								
								
							
						
					
				
				
					
						
							
							
							
						
					
					
						
							
							
							
							
							
						
					
				
			
		

		
			
				
				
				
				
				
			
		

		
			
		
	

	
		
			TextCell driver displays the header cells, for columns and lines.
		
	
	
		
		
		
		

		
		
		
		
		
		
		
		
			
			
			
				
			
			
		
		
	


	
		
		
		
		

		
		
		
		
		
		
		
		
		
			
			
			
		
		
	

	
		
			The Cell driver gives the colspan and the rowspan to the Response, which creates the cell.
		
	
	
		

		
			
			
			
		
	

	
		
			The EmptyCell driver creates an empty cell.
		
	
	
		
		
		
		

		
		

		
			
				
					
					
					
			
			
				
					
					
				
			
		
	

	
		
			The Response drivers in SingleResponseQuestion and MultipleQuestion create a component, which type depends on the Response driver.
		
	
	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		

		
		
		
		
			
				
				
				
				
				
				
				
				
				
			
		
		
		
		
		
			
			
				
				0
			
		
		
		
		
		
		
		
		

		
			
				
				
				
				
				
				

				
				
					
				
				
				
					
						
						
					
				
				
				
					
				

				
					
				
				
					
						
							
						
						
							
						
					
				
				
					
					
				
				
					
				
				
					
						
					
				
			

			
				
					
					
					
					
					
				
			
		
		
			
			
			
			
		
		
			
				
				
				
				
			
		

		
			
			
			
			
			
			
			
			
		
		
			
				
				
			
		
	

	
		
			The Response drivers in the body lines of tables create a cell, which type depends on the Response driver.
		
	
	
		
		
		
		
		
		
		
		

		
		
		
			
				
				
				
				
				
				
				
				
				
			
		
		
		
		
		
			
			
				
				0
			
		
		
		
		
		
		
		
		

		
			
			
			
			
			
			
			
			
			
				
			

			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
		

		
			
			
			
			
		
		
			
			
			
			
			
			
			
			
		
		
			
				
				
			
		
	

	
		
			The Response of MultipleChoiceQuestion creates a response element of the CheckboxGroup.
		
	
	
		
		
		
		
		

		

		
			
			
				
			
			
				
			
		
		
			
		
		
			
			
			
			
		
	

	
		
			Each value of a CodeDomain response creates an option.
		
	
	
		
		

		
		
		
		
		
			
				
				
			
			
		
	

	
		
			The value of a BooleanDomain gives its label.
		
	
	
		
		

		
		
		
		

		
			
			
		
	

	
		
			The xf-output driver adds declaration elements.
		
	
	
		
		
		

		
			
			
				
				
				
			
		
		
		
		
		
		

		
			
				
			
			
		

		
			
		
	

	
		
			The CalculatedVariable driver displays the formula of the calculated variable on the elements variables.
		
	
	
		
		
		
		

		
			
				
					
					
				
		

		
			
			
				
				
			
			
				
			
			
				
			
			
			
				
			
			
			
				
					
				
			
		
	

	
		template for the GoTo
	
	
		
		
		
		

		
		
		
		
		
		
		

		
		

		
			
			
			
				
				
			
			
			
				
			
		
	

	
		
			Match on the ConsistencyCheck driver.
			It writes the formula of the check.
		
	
	
		
		

		
			
			
			
			
			
			
			
			
				
					
				
				
					
				
			
			

			
				
					
				
				
					
						
						
						
					
				
				
				
					
						
						
					
				
				
					
						
						
					
				
				
				
				
					
				
			
		
	

	
		
			Function named: enolunatic:printQuestionTitleWithInstruction.
			It prints the instructions of a question.
		
	
	
		
		
		
			
			
		
		
			
			
		
	

	
		
			Named template: enolunatic:add-response-to-components.
		
	
	
		
		
	

	
		
		
	

	
		
			Named template: enolunatic:add-collected-variable-to-components.
			It creates the variables with its different possible states.
		
	
	
		
		
		
		
		
		
			
				
					
				
				
					
				
			
		
		
			
				
				
			
		
		
			
			
			
				
					
						
						
					
				
			
		
	

	
		
			Named template: enolunatic:add-format-controls.
			It creates the format controls.
		
	
	
		
		
		
		
		
		
		
		
		
			
				
					
					
					
					
						
							
						
						
					
					
						
							
						
						
					
				
			
			
				
					
					
					
					
						
							
						
						
					
					
						
							
						
						
					
				
			
			
				
					
					
					
					
						
							
						
						
					
					
						
							
						
						
					
				
			
			
				
				
				
				
					
						
					
					
				
				
					
						
					
					
				
			
		

		
			
				
					
					
					
					
						
							
						
						
					
					
						
							
						
						
					
				
			
			
				
					
					
					
					
						
							
						
						
					
					
						
							
						
						
					
				
			
			
				
					
					
					
					
						
							
						
						
					
					
						
							
						
						
					
				
			
		
	

	
		
			Named function: enolunatic:add-dependencies.
		
	
	
		
		
			
		
	

	
		
			Named function: enolunatic:add-conditionFilter
		
	
	
		
		
		
			
			
			
		
	

	
		
		

		
			
				
					
					
						
						
					
				
			
			
				
					
				
			
		
	

	
		
		
		
		
		
		
			
			
				
				
			
			
				
			
			
				
			
		
	

	
		
		
		
		
			
			
		
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy