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

xslt.inputs.ddi.templates.fods Maven / Gradle / Ivy

Go to download

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

There is a newer version: 2.10.2
Show newest version



 2009-04-16T11:32:48.39P5DT10H45M4S479LibreOffice/7.4.7.2$Windows_X86_64 LibreOffice_project/723314e595e8007d3cf785c16538505a1c878ca52023-10-23T20:45:36.030000000François Bulot
 
  
   0
   0
   63257
   116374
   
    
     view1
     
      
       0
       212
       2
       0
       0
       0
       201
       0
       100
       60
       true
       false
      
     
     Sheet1
     1301
     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
     
     
     
     
    
    
     en
     US
     
     
     
    
    
     fr
     FR
     
     
     
    
   
   12632256
   true
   true
   0
   false
   false
   true
   true
   false
   3
   false
   PDFCreator
   false
   RQX+/1BERkNyZWF0b3IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUERGQ3JlYXRvcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAEAYgQAAAAAAAAEAAhSAAAEdAAAM1ROVwAAAAAKAFAARABGAEMAcgBlAGEAdABvAHIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBAMG3AB8A1PvgAEBAAkAmgs0CGQAAQAPAFgCAgABAFgCAwABAEEANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQUklW4jAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAECcQJxAnAAAQJwAAAAAAAAAAiAB8AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAQAFA0AwAoiAQAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAOexS0wDAAAABQAKAP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACIAAAAU01USgAAAAAQAHgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgBDT01QQVRfRFVQTEVYX01PREUTAER1cGxleE1vZGU6OlVua25vd24=
   false
   1000
   1000
   1
   1
   true
   false
   true
   true
   true
   true
   7
   true
   
    
     Feuille1
    
   
  
 
 
  
   
    
   
  
 
 
  
  
  
  
  
  
  
  
  
  
 
 
  
   
   
   
  
  
   
  
  
   
    
   
  
  
   
   -
   
    
   
   
  
  
   
    
   
  
  
   
   -
   
    
   
   
  
  
   
   
  
  
   -
   
   
   
  
  
   
   
  
  
   
   -
   
   
   
  
  
   
   
  
  
   -
   
   
   
  
  
   
   
  
  
   
   -
   
   
   
  
  
    
   
       
  
  
    
   
       
  
  
    
   -    
  
  
   
    
   
   
   
  
  
    
   
   
  
  
    
   
   
  
  
    
   - € 
  
  
   
    
   
   
   
  
  
    
   
       
  
  
    
   
       
  
  
    
   -
   
       
  
  
   
    
   
   
   
  
  
    
   
   
  
  
    
   
   
  
  
    
   -
   
   
  
  
   
    
   
   
   
  
  
   
   :
   
  
  
   
   :
   
   :
   
  
  
   
   :
   
  
  
   
  
  
   
   :
   
   ,
  
  
   
   -
   
   -
   
  
  
   
   -
   
  
  
   
   -
   
  
  
   
   :
   
    
   
  
  
   
   :
   
   :
   
    
   
  
  
   
      
  
  
   -
   
      
   
  
  
   
      
  
  
   
   -
   
      
   
  
  
   
      
  
  
   -
   
      
   
  
  
   
      
  
  
   
   -
   
      
   
  
  
   
   
  
  
   -
   
   
   
  
  
   
   
  
  
   
   -
   
   
   
  
  
   
   
  
  
   -
   
   
   
  
  
   
   
  
  
   
   -
   
   
   
  
  
   
  
  
   
   
   
  
  
   
  
  
   
  
  
  
   
   
  
  
   
  
  
   
  
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
  
  
   
   
  
  
   
  
  
   
   
  
  
   
   
  
  
   
  
  
   
  
  
 
 
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
   
  
  
   
   
  
  
   
  
  
   
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
  
  
   
   
  
  
   
  
  
   
   
    
   
   
    
   
  
 
 
  
   
    ???
   
   
   
   
    Page 1
   
   
   
  
 
 
  
   
    
    
    
    
    
    
     
      Xpath
     
     
      Xpath_Mode
     
     
      Match
     
     
      Match_Mode
     
     
      Documentation
     
    
    
     
    
    
     
      *
     
     
      enoddi:get-id
     
     
      r:ID
     
     
     
      r:ID is the element identifier in DDI by default.
     
    
    
     
      *[(ends-with(name(),'Domain') or ends-with(name(),'DomainReference')) and not(ancestor::d:GridDimension) and not(name()='d:StructuredMixedGridResponseDomain')]
     
     
      enoddi:get-id
     
     
      ancestor::*[name()=('d:QuestionGrid','d:QuestionItem')]/r:Binding[r:SourceParameterReference/r:ID=current()/r:OutParameter/r:ID]/r:TargetParameterReference/r:ID
     
     
     
      For a ResponseDomain, the r:ID of the output parameter of the question is in the TargetReference of the Binding corresponding to its format.
     
    
    
     
      d:Instruction
     
     
      enoddi:get-id
     
     
      concat(parent::d:InterviewerInstructionReference/parent::*/r:ID,'-',r:ID)
     
     
     
      For d:Instruction elements, getting the id by concatenating the d:InterviewerInstructionReference parent r:ID with the current r:ID (because it can appear several times in the DDI and it needs to be unique).
     
    
    
     
      d:StructuredMixedGridResponseDomain[parent::d:QuestionGrid[d:GridDimension/d:Roster]]
     
     
      enoddi:get-id
     
     
      parent::d:QuestionGrid/r:ID
     
     
     
      The GridDimension has a Roster. It means the SMGRD can be repeated many times. An id is created by concatenating its QuestionGrid id with the '-RowLoop' string.
     
    
    
     
      l:Code[ancestor::d:GridDimension]
     
     
      enoddi:get-id
     
     
      concat(ancestor::d:GridDimension/parent::d:QuestionGrid/r:ID,'-',r:ID)
     
     
     
      Identifiers for texts within cells in header rows and header columns (are concatenated because they can appear several times and need to be unique).
     
    
    
     
      r:Label[parent::l:CodeList[ancestor::d:GridDimension]]
     
     
      enoddi:get-id
     
     
      concat(ancestor::d:QuestionGrid/r:ID,'-',parent::l:CodeList/r:ID,'-Header-',count(preceding-sibling::r:Label)+1)
     
     
     
      Identifiers for texts within cells in header rows and header columns (are concatenated because they can appear several times and need to be unique).
     
    
    
     
      d:GridDimension[@rank='1' and ../d:GridDimension/@rank='2' and d:CodeDomain and not(descendant::l:CodeList/r:Label)]
     
     
      enoddi:get-id
     
     
      concat(ancestor::d:QuestionGrid/r:ID,'-TopLeftHeader')
     
     
     
      Identifier for top-left cell in 2 dimensions Grid without Label on first dimension CodeList
     
    
    
     
      l:Variable
     
     
      enoddi:get-id
     
     
      l:VariableName/r:String
     
     
     
      Identifier returned for a l:Variable : not using its DDI identifier but its name.
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:get-id
     
     
      r:CommandCode/r:Command/r:OutParameter/r:ID
     
     
     
      Identifier for a GenerationInstruction is the id of the output parameter
     
    
    
     
      d:ResponseDomainInMixed[d:AttachmentLocation]
     
     
      enoddi:get-id
     
     
      concat(ancestor::d:QuestionItem/r:ID,'-Details-',count(preceding-sibling::d:ResponseDomainInMixed[d:AttachmentLocation])+1)
     
     
     
      Identifier for the hideable group in "other – give details" in QuestionItem
     
    
    
     
      d:GridResponseDomainInMixed[d:ResponseAttachmentLocation]
     
     
      enoddi:get-id
     
     
      concat(ancestor::d:QuestionGrid/r:ID,'-Details-',count(preceding-sibling::d:GridResponseDomainInMixed[d:ResponseAttachmentLocation])+1)
     
     
     
      Identifier for the hideable group in "other – give details" in QuestionGrid
     
    
    
     
      d:NoDataByDefinition[../../d:CellLabel[eno:serialize(d:GridAttachment/d:CellCoordinatesAsDefined)=eno:serialize(current()/child::d:CellCoordinatesAsDefined)] or ../../d:FixedCellValue[eno:serialize(d:GridAttachment/d:CellCoordinatesAsDefined)=eno:serialize(current()/child::d:CellCoordinatesAsDefined)]]
     
     
      enoddi:get-id
     
     
      concat(ancestor::d:QuestionGrid/r:ID,'-Cell-',d:CellCoordinatesAsDefined/d:SelectDimension[@rank='1']/@rangeMinimum,d:CellCoordinatesAsDefined/d:SelectDimension[@rank='1']/@specificValue,'_',d:CellCoordinatesAsDefined/d:SelectDimension[@rank='2']/@rangeMinimum,d:CellCoordinatesAsDefined/d:SelectDimension[@rank='2']/@specificValue)
     
     
     
      Identifier for FixedCell : concat the name of the Grid, "Cell" and the position of the top-left corner
     
    
    
     
      d:ThenConstructReference
     
     
      enoddi:get-id
     
     
      concat(parent::d:IfThenElse/r:ID,'-THEN')
     
     
     
      Identifier for ThenConstructReference is its IfThenElse's id concatened with '-THEN'
     
    
    
     
      d:ElseConstructReference
     
     
      enoddi:get-id
     
     
      concat(parent::d:IfThenElse/r:ID,'-ELSE')
     
     
     
      Identifier for ElseConstructReference is its IfThenElse's id concatened with '-ELSE'
     
    
    
     
      d:ExternalAid[r:OtherMaterial/r:Description/r:Content/xhtml:div/@class='FlowControl']
     
     
      enoddi:get-id
     
     
      r:OtherMaterial/r:ID
     
     
     
      Identifier for FlowControl is its OtherMaterial's ID
     
    
    
     
     
     
    
    
     
      d:Sequence
     
     
      enoddi:get-label
     
     
      r:Label
     
     
      lang-choice
     
     
      The label of a Sequence is its r:Label element.
     
    
    
     
      d:StatementItem
     
     
      enoddi:get-label
     
     
      d:DisplayText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      The label of a StatementItem is its descendant Text.
     
    
    
     
      d:Instruction
     
     
      enoddi:get-label
     
     
      d:InstructionText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      The label of an Instruction is its descendant Text.
     
    
    
     
      d:QuestionItem
     
     
      enoddi:get-label
     
     
      d:QuestionText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      The label of a QuestionItem is the text of its QuestionText (default case).
     
    
    
     
      d:QuestionGrid
     
     
      enoddi:get-label
     
     
      d:QuestionText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      The label of a QuestionGrid is the text of its QuestionText (default case).
     
    
    
     
      l:Code[not(ancestor::d:CodeDomain/@displayCode) and not(ancestor::d:GridDimension[@displayCode='true'])]
     
     
      enoddi:get-label
     
     
      r:CategoryReference/l:Category/r:Label
     
     
      lang-choice
     
     
      The label of a Code is its descendant r:Label.
     
    
    
     
      l:Code[ancestor::d:CodeDomain/@displayCode='false' and (not(ancestor::d:GridDimension[@displayCode='true']) or descendant::l:Code)]
     
     
      enoddi:get-label
     
     
      r:CategoryReference/l:Category/r:Label
     
     
      lang-choice
     
     
      The label of a Code is its descendant r:Label.
     
    
    
     
      *[(ends-with(name(),'Domain') or ends-with(name(),'DomainReference')) and not(ancestor::d:GridDimension)]
     
     
      enoddi:get-label
     
     
      r:Label
     
     
      lang-choice
     
     
      The label of a Response.
     
    
    
     
      r:Label[not(parent::l:CodeList[ancestor::d:GridDimension[@displayLabel='false']])]
     
     
      enoddi:get-label
     
     
      .
     
     
      lang-choice
     
     
      The label of a Label is its own value !
     
    
    
     
      r:Label[parent::l:CodeList[ancestor::d:GridDimension[@displayLabel='false']]]
     
     
      enoddi:get-label
     
     
      ''
     
     
     
      The label of a Label with displayLabel attribute as 'false' is empty.
     
    
    
     
      d:NoDataByDefinition[../../d:CellLabel[eno:serialize(d:GridAttachment/d:CellCoordinatesAsDefined)=eno:serialize(current()/child::d:CellCoordinatesAsDefined)]]
     
     
      enoddi:get-label
     
     
      ../../d:CellLabel[eno:serialize(d:GridAttachment/d:CellCoordinatesAsDefined)=eno:serialize(current()/child::d:CellCoordinatesAsDefined)]/r:Content
     
     
      lang-choice
     
     
      The label of grid cells without Response
     
    
    
     
      d:ExternalAid[r:OtherMaterial/r:Description/r:Content/xhtml:div/@class='FlowControl']
     
     
      enoddi:get-label
     
     
      r:OtherMaterial/r:Description/r:Content/xhtml:div[@class='FlowControl']/xhtml:div[@class='Description']
     
     
      lang-choice
     
     
      The label of FlowControl
     
    
    
     
      d:ComputationItem
     
     
      enoddi:get-label
     
     
      d:InterviewerInstructionReference/d:Instruction/d:InstructionText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      The label of a ComputationItem is the label of its Instruction.
     
    
    
     
      l:Variable
     
     
      enoddi:get-label
     
     
      r:Label/r:Content
     
     
      lang-choice
     
     
      The label of a Variable.
     
    
    
     
      d:Loop
     
     
      enoddi:get-label
     
     
      r:Label/r:Content
     
     
      lang-choice
     
     
      The label of the button : "add an occurrence"
     
    
    
     
     
     
    
    
     
      d:NoDataByDefinition[../../d:FixedCellValue[eno:serialize(d:GridAttachment/d:CellCoordinatesAsDefined)=eno:serialize(current()/child::d:CellCoordinatesAsDefined)]]
     
     
      enoddi:get-cell-value
     
     
      ../../d:FixedCellValue[eno:serialize(d:GridAttachment/d:CellCoordinatesAsDefined)=eno:serialize(current()/child::d:CellCoordinatesAsDefined)]/r:Value
     
     
     
      The value of a fixed cell
     
    
    
     
     
     
     
    
    
     
      d:ThenConstructReference
     
     
      enoddi:get-flowcontrol-label
     
     
      parent::d:IfThenElse/r:Description/r:Content
     
     
      lang-choice
     
     
      The label of the Goto of a filter
     
    
    
     
     
     
    
    
     
      d:QuestionItem
     
     
      enoddi:get-question-name
     
     
      d:QuestionItemName/r:String
     
     
      lang-choice
     
     
      The short label of a QuestionItem is the short name of QuestionItem 
     
    
    
     
      d:QuestionGrid
     
     
      enoddi:get-question-name
     
     
      d:QuestionGridName/r:String
     
     
      lang-choice
     
     
      The short label of a QuestionItem is the short name of QuestionGrid
     
    
    
     
      d:ComputationItem
     
     
      enoddi:get-check-name
     
     
      r:Description/r:Content
     
     
      lang-choice
     
     
      The description (label) of a ComputationItem
     
    
    
     
      d:CodeDomain
     
     
      enoddi:get-codelist-name
     
     
      r:CodeListReference/l:CodeList/r:Label/r:Content
     
     
     
      The business name of CodeList
     
    
    
     
      d:CodeDomain
     
     
      enoddi:get-codelist-id
     
     
      r:CodeListReference/l:CodeList/r:ID
     
     
     
      The id of CodeList
     
    
    
     
     
     
     
    
    
     
      l:Code
     
     
      enoddi:get-value
     
     
      r:Value
     
     
     
      The value of a Code is its Value child.
     
    
    
     
    
    
     
      d:CodeDomain[not(ancestor::d:GridDimension)]
     
     
      enoddi:get-output-format
     
     
      r:GenericOutputFormat
     
     
     
      Getting the output format for d:CodeDomain item.
     
    
    
     
      d:NominalDomain
     
     
      enoddi:get-output-format
     
     
      'checkbox'
     
     
     
      Getting the output format for d:NominalDomain item.
     
    
    
     
    
    
     
      l:Code[.//r:Description]
     
     
      enoddi:get-help-instruction
     
     
      r:CategoryReference/l:Category/r:Description
     
     
      lang-choice
     
     
      Getting the help instruction for a l:Code having a r:Description child.
     
    
    
     
    
    
     
      d:QuestionItem
     
     
      enoddi:get-style
     
     
      'question'
     
     
     
      Getting the style of a d:QuestonItem element.
     
    
    
     
      d:TextDomain[not(@maxLength)]
     
     
      enoddi:get-style
     
     
      'text'
     
     
     
      Getting the style of a d:TextDomain (without maxLength attribute).
     
    
    
     
      d:TextDomain[@maxLength]
     
     
      enoddi:get-style
     
     
      concat('text text',@maxLength)
     
     
     
      Getting the style of a d:TextDomain (with maxLength attribute).
     
    
    
     
      d:NumericDomain | d:NumericDomainReference
     
     
      enoddi:get-style
     
     
      'number'
     
     
     
      Getting the style of a d:NumericDomain or au d:NumericDomain Reference element.
     
    
    
     
      d:Sequence[d:TypeOfSequence/text()='submodule']
     
     
      enoddi:get-style
     
     
      'submodule'
     
     
     
      Getting the style of a submodule type Sequence.
     
    
    
     
      d:Sequence[d:TypeOfSequence/text()='group']
     
     
      enoddi:get-style
     
     
      'group'
     
     
     
      Getting the style of a group type Sequence.
     
    
    
     
      d:Instruction[d:InstructionName/r:String='help']
     
     
      enoddi:get-style
     
     
      'help'
     
     
     
      Getting the style of a help type Instruction.
     
    
    
     
      d:Instruction[d:InstructionName/r:String='instruction']
     
     
      enoddi:get-style
     
     
      'hint'
     
     
     
      Getting the style of a hint type Instruction.
     
    
    
     
      d:Instruction[d:InstructionName/r:String='warning']
     
     
      enoddi:get-style
     
     
      'warning'
     
     
     
      Getting the style of a warning type Instruction.
     
    
    
     
      d:ComputationItem[descendant::d:InstructionName/r:String='help']
     
     
      enoddi:get-style
     
     
      'help'
     
     
     
      Getting the style of a help type Instruction for ComputationItem.
     
    
    
     
      d:ComputationItem[descendant::d:InstructionName/r:String='instruction']
     
     
      enoddi:get-style
     
     
      'hint'
     
     
     
      Getting the style of a hint type Instruction for ComputationItem.
     
    
    
     
      d:StatementItem
     
     
      enoddi:get-style
     
     
      'statement'
     
     
     
      Getting the style of a StatementItem.
     
    
    
     
      d:QuestionGrid[count(d:GridDimension)=2]
     
     
      enoddi:get-style
     
     
      'question complex-grid'
     
     
     
      Getting the style of a d:QuestionGrid with two dimensions.
     
    
    
     
      d:QuestionGrid[count(d:GridDimension)=1]
     
     
      enoddi:get-style
     
     
      'question multiple-choice-question'
     
     
     
      Getting the style of a d:QuestionGrid with only one dimension.
     
    
    
     
      d:DateTimeDomain[r:DateTypeCode/text()='duration']
     
     
      enoddi:get-style
     
     
      'duration'
     
     
     
      Getting the style of a duration type d:DateTimeDomain.
     
    
    
     
      d:DateTimeDomain[r:DateTypeCode/text()='date']
     
     
      enoddi:get-style
     
     
      'date'
     
     
     
      Getting the style of a date type d:DateTimeDomain.
     
    
    
     
      d:DateTimeDomainReference[descendant::r:DateTypeCode/text()='duration']
     
     
      enoddi:get-style
     
     
      'duration'
     
     
     
      Getting the style of a duration type d:DateTimeDomainReference.
     
    
    
     
      d:DateTimeDomainReference[descendant::r:DateTypeCode/text()='date']
     
     
      enoddi:get-style
     
     
      'date'
     
     
     
      Getting the style of a date type d:DateTimeDomainReference.
     
    
    
     
      d:CodeDomain[not(ancestor::d:GridDimension) and descendant::r:TypeOfMaterial='image']
     
     
      enoddi:get-style
     
     
      'image'
     
     
     
      Getting the style of a code having an image.
     
    
    
     
      d:NoDataByDefinition[../../d:CellLabel[eno:serialize(d:GridAttachment/d:CellCoordinatesAsDefined)=eno:serialize(current()/child::d:CellCoordinatesAsDefined) and r:TypeOfLabel='total']]
     
     
      enoddi:get-style
     
     
      'total'
     
     
     
      Getting the style of a cell containing a sum of elements.
     
    
    
     
    
    
     
      d:ThenConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:get-hideable-command
     
     
      ../d:IfCondition/r:Command/r:CommandContent
     
     
     
      The command associated to a hideable ThenConstructReference.
     
    
    
     
      d:ElseConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:get-hideable-command
     
     
      concat('not (',../d:IfCondition/r:Command/r:CommandContent,')')
     
     
     
      The command associated to a hideable ElseConstructReference.
     
    
    
     
     
     
     
    
    
     
      d:ThenConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:get-hideable-command-variables
     
     
      ../d:IfCondition/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Function that returns the list of the variables in a filter.
     
    
    
     
      d:ElseConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:get-hideable-command-variables
     
     
      ../d:IfCondition/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Function that returns the list of the variables in a filter.
     
    
    
     
      d:ResponseDomainInMixed[d:AttachmentLocation]
     
     
      enoddi:get-hideable-command-variables
     
     
      ../../r:Binding[r:SourceParameterReference/r:ID = current()/../d:ResponseDomainInMixed[@attachmentBase= current()/d:AttachmentLocation/d:DomainSpecificValue/@attachmentDomain]/*[contains(name(),'Domain')]/r:OutParameter/r:ID]/r:TargetParameterReference/r:ID
     
     
     
      Function that returns the id of the 'other' for a 'give-details' response in a QuestionItem.
     
    
    
     
      d:GridResponseDomainInMixed[d:ResponseAttachmentLocation]
     
     
      enoddi:get-hideable-command-variables
     
     
      ../../r:Binding[r:SourceParameterReference/r:ID = current()/../d:GridResponseDomainInMixed[@attachmentBase= current()/d:ResponseAttachmentLocation/d:DomainSpecificValue/@attachmentDomain]/*[contains(name(),'Domain')]/r:OutParameter/r:ID]/r:TargetParameterReference/r:ID
     
     
     
      Function that returns the id of the 'other' for a 'give-details' response in a QuestionGrid.
     
    
    
     
      d:Sequence[d:TypeOfSequence/text()='module']
     
     
      enoddi:get-hideable-command-variables
     
     
      ancestor::d:IfThenElse[d:TypeOfIfThenElse='hideable']/d:IfCondition/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Function that returns the list of the variables in the ancestor filters of a sequence module.
     
    
    
     
     
     
     
    
    
     
      d:ThenConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='greyedout']
     
     
      enoddi:get-deactivatable-command
     
     
      ../d:IfCondition/r:Command/r:CommandContent
     
     
     
      The command associated to a deactivatable ThenConstructReference.
     
    
    
     
      d:ElseConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='greyedout']
     
     
      enoddi:get-deactivatable-command
     
     
      concat('not (',../d:IfCondition/r:Command/r:CommandContent,')')
     
     
     
      The command associated to a deactivatable ElseConstructReference.
     
    
    
     
     
     
     
    
    
     
      d:ThenConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='greyedout']
     
     
      enoddi:get-deactivatable-command-variables
     
     
      ../d:IfCondition/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Function that returns the list of the variables in a filter.
     
    
    
     
      d:ElseConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='greyedout']
     
     
      enoddi:get-deactivatable-command-variables
     
     
      ../d:IfCondition/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Function that returns the list of the variables in a filter.
     
    
    
     
    
    
     
      d:ComputationItem
     
     
      enoddi:get-control
     
     
      concat('not(',normalize-space(r:CommandCode/r:Command/r:CommandContent/text()),')')
     
     
     
      Getting the control of a d:ComputationItem.
     
    
    
     
     
     
    
    
     
      d:ComputationItem
     
     
      enoddi:get-control-variables
     
     
      r:CommandCode/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Function that returns the list of the variables in a control-text (get-control).
     
    
    
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:get-variable-calculation
     
     
      descendant::r:CommandContent
     
     
     
      Returns the calculation of the variable
     
    
    
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:get-variable-calculation-variables
     
     
      r:CommandCode/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Returns the list of the variables used in a variable calculation.
     
    
    
     
    
    
     
      d:NumericDomain|d:NumericDomainReference
     
     
      enoddi:get-minimum
     
     
      descendant::r:Low[not(ancestor::r:OutParameter)]
     
     
     
      Getting the minimum of a numeric response domain.
     
    
    
     
      d:DateTimeDomain|d:DateTimeDomainReference
     
     
      enoddi:get-minimum
     
     
      descendant::r:MinimumValue[not(ancestor::r:OutParameter)]
     
     
     
      Getting the minimum of a dateTime or duration response domain.
     
    
    
     
    
    
     
      d:NumericDomain|d:NumericDomainReference
     
     
      enoddi:get-maximum
     
     
      descendant::r:High[not(ancestor::r:OutParameter)]
     
     
     
      Getting the maximum of a numeric response domain.
     
    
    
     
    
    
     
      *[ends-with(name(),'Domain')]
     
     
      enoddi:get-format-constraint
     
     
      @regExp
     
     
     
      Getting the regExp of a response domain.
     
    
    
     
      *[ends-with(name(),'DomainReference')]
     
     
      enoddi:get-format-constraint
     
     
      descendant::*[not(ancestor::r:OutParameter)]/@regExp
     
     
     
      Getting the regExp of a response domain reference.
     
    
    
     
    
    
     
      d:NumericDomain
     
     
      enoddi:get-number-of-decimals
     
     
      @decimalPositions
     
     
     
      Getting the number of decimals of a d:NumericDomain item (using the @decimalPositions attribute).
     
    
    
     
      d:NumericDomainReference[descendant::r:ManagedNumericRepresentation]
     
     
      enoddi:get-number-of-decimals
     
     
      descendant::r:ManagedNumericRepresentation[not(ancestor::r:OutParameter)]/@decimalPositions
     
     
     
      Getting the number of decimals of a d:NumericDomainReference item having a r:ManagedNumericRepresentation child.
     
    
    
     
    
    
     
      d:ComputationItem[not(d:TypeOfComputationItem='stumblingblock')]
     
     
      enoddi:get-message-type
     
     
      'warning'
     
     
     
      Getting the message type of a d:Instruction being a descendant of a d:ComputationItem.
     
    
    
     
      d:ComputationItem[d:TypeOfComputationItem='stumblingblock']
     
     
      enoddi:get-message-type
     
     
      'error'
     
     
     
      Getting the message type of a d:Instruction being a descendant of a d:ComputationItem.
     
    
    
     
      d:ComputationItem
     
     
      enoddi:get-control-criticality
     
     
      d:TypeOfComputationItem
     
     
     
      Getting the criticality of a control (described by TypeOfInstruction in the ComputationItem)
     
    
    
     
    
    
     
      d:NumericDomain[r:NumberRange]
     
     
      enoddi:get-length
     
     
      max((string-length(r:NumberRange/r:Low),string-length(r:NumberRange/r:High)))
     
     
     
      Getting the length of a d:NumericDomain having a r:NumberRange child.
     
    
    
     
      d:NumericDomainReference[descendant::r:NumberRange]
     
     
      enoddi:get-length
     
     
      max((string-length(descendant::r:Low[not(ancestor::r:OutParameter)]),string-length(descendant::r:High[not(ancestor::r:OutParameter)])))
     
     
     
      Getting the length of a d:NumericDomainReference having a r:NumberRange descendant.
     
    
    
     
      d:TextDomain[@maxLength]
     
     
      enoddi:get-length
     
     
      number(@maxLength)
     
     
     
      Getting the length of a d:TextDomain item having a @maxLength attribute.
     
    
    
     
      d:DateTimeDomain[r:DateTypeCode/text()='duration']
     
     
      enoddi:get-length
     
     
      string-length(r:DateFieldFormat)
     
     
     
      Getting the length of a 'duration' d:DateTimeDomain.
     
    
    
     
      d:DateTimeDomainReference[descendant::r:DateTypeCode/text()='duration']
     
     
      enoddi:get-length
     
     
      string-length(r:ManagedDateTimeRepresentation/r:DateFieldFormat)
     
     
     
      Getting the length of a 'duration' d:DateTimeDomainReference.
     
    
    
     
     
    
    
     
      *[starts-with(name(),'d:DateTimeDomain')]
     
     
      enoddi:get-type
     
     
      descendant::r:DateTypeCode[not(ancestor::r:OutParameter)]
     
     
     
      Getting the type of a d:DateTimeDomain or d:DateTimeDomainReference.
     
    
    
     
      *[starts-with(name(),'r:DateTimeRepresentation')]
     
     
      enoddi:get-type
     
     
      descendant::r:DateTypeCode[not(ancestor::r:OutParameter)]
     
     
     
      Getting the type of a d:DateTimeDomain or d:DateTimeRepresentation.
     
    
    
     
      d:NumericDomain[not(@decimalPositions != '0')]
     
     
      enoddi:get-type
     
     
      'integer'
     
     
     
      Getting the type of a d:NumericDomain without positive @DecimalPosition
     
    
    
     
      d:NumericDomainReference[not(descendant::d:NumericDomainRepresentation/@decimalPositions = '0')]
     
     
      enoddi:get-type
     
     
      'integer'
     
     
     
      Getting the type of a d:NumericDomainReference without positive @DecimalPosition
     
    
    
     
      r:NumericRepresentation[not(@decimalPositions != '0')]
     
     
      enoddi:get-type
     
     
      'integer'
     
     
     
      Getting the type of a d:NumericRepresentation without positive @DecimalPosition
     
    
    
     
      r:NumericRepresentationReference[not(descendant::d:NumericDomainRepresentation/@decimalPositions = '0')]
     
     
      enoddi:get-type
     
     
      'integer'
     
     
     
      Getting the type of a d:NumericRepresentationReference without positive @DecimalPosition
     
    
    
     
      d:NumericDomain[@decimalPositions != '0']
     
     
      enoddi:get-type
     
     
      'decimal'
     
     
     
      Getting the type of a d:NumericDomain with positive @DecimalPosition
     
    
    
     
      d:NumericDomainReference[descendant::d:NumericDomainRepresentation/@decimalPositions = '0']
     
     
      enoddi:get-type
     
     
      'decimal'
     
     
     
      Getting the type of a d:NumericDomainReference with positive @DecimalPosition
     
    
    
     
      r:NumericRepresentation[@decimalPositions != '0']
     
     
      enoddi:get-type
     
     
      'decimal'
     
     
     
      Getting the type of a d:NumericRepresentation with positive @DecimalPosition
     
    
    
     
      r:NumericRepresentationReference[descendant::d:NumericDomainRepresentation/@decimalPositions = '0']
     
     
      enoddi:get-type
     
     
      'decimal'
     
     
     
      Getting the type of a d:NumericRepresentationReference with positive @DecimalPosition
     
    
    
     
      d:TextDomain
     
     
      enoddi:get-type
     
     
      'text'
     
     
     
      Getting the type of a d:TextDomain.
     
    
    
     
      r:TextRepresentation
     
     
      enoddi:get-type
     
     
      'text'
     
     
     
      Getting the type of a d:TextRepresentation.
     
    
    
     
      d:NominalDomain
     
     
      enoddi:get-type
     
     
      'boolean'
     
     
     
      Getting the type of a d:QuestionItem having a d:NominalDomain
     
    
    
     
      r:CodeRepresentation[r:CodeSubsetInformation]
     
     
      enoddi:get-type
     
     
      'boolean'
     
     
     
      Getting the type of a boolean representation
     
    
    
     
      r:CodeRepresentation[r:CodeListReference]
     
     
      enoddi:get-type
     
     
      'code'
     
     
     
      Getting the type of a code representation
     
    
    
     
      l:Variable[not(r:QuestionReference or r:SourceParameterReference or d:GenerationInstruction)]
     
     
      enoddi:get-type
     
     
      enoddi:get-type(l:VariableRepresentation/*[contains(name(),'Representation')])
     
     
     
      Getting the type of external variable
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:get-type
     
     
      enoddi:get-type(//l:Variable/l:VariableRepresentation[r:ProcessingInstructionReference/r:ID=current()/r:ID]/*[not(self::r:ProcessingInstructionReference)])
     
     
     
      Getting the type of calculated variable
     
    
    
     
     
    
    
     
      *[starts-with(name(),'d:DateTimeDomain')]
     
     
      enoddi:get-format
     
     
      descendant::r:DateFieldFormat[not(ancestor::r:OutParameter)]
     
     
     
      Getting the format of a d:DateTimeDomain or d:DateTimeDomainReference.
     
    
    
     
      d:TextDomain
     
     
      enoddi:get-format
     
     
      @regExp
     
     
     
      Getting the format of a d:TextDomain.
     
    
    
     
      d:Instruction
     
     
      enoddi:get-format
     
     
      d:InstructionName
     
     
     
      Getting the format of an Instruction
     
    
    
     
      d:StatementItem
     
     
      enoddi:get-format
     
     
      'statement'
     
     
     
      Getting the format of an StatementItem
     
    
    
     
      r:Description[parent::d:IfThenElse]
     
     
      enoddi:get-format
     
     
      'filter-alternative-text'
     
     
     
      Getting the format of a filter
     
    
    
     
      d:ExternalAid[r:OtherMaterial/r:Description/r:Content/xhtml:div/@class='FlowControl']
     
     
      enoddi:get-format
     
     
      'flowcontrol-text'
     
     
     
      Getting the format of a flowcontrol
     
    
    
     
     
    
    
     
      l:Code[ancestor::d:GridDimension]
     
     
      enoddi:get-rowspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      r:Label[parent::l:CodeList]
     
     
      enoddi:get-rowspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      d:GridDimension[@rank='1' and ../d:GridDimension/@rank='2' and d:CodeDomain and not(descendant::l:CodeList/r:Label)]
     
     
      enoddi:get-rowspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      d:GridResponseDomainInMixed[not(d:ResponseAttachmentLocation)]
     
     
      enoddi:get-rowspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      d:NoDataByDefinition
     
     
      enoddi:get-rowspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
    
    
     
      l:Code[ancestor::d:GridDimension]
     
     
      enoddi:get-colspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      r:Label[parent::l:CodeList]
     
     
      enoddi:get-colspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      d:GridDimension[@rank='1' and ../d:GridDimension/@rank='2' and d:CodeDomain and not(descendant::l:CodeList/r:Label)]
     
     
      enoddi:get-colspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      d:GridResponseDomainInMixed[not(d:ResponseAttachmentLocation)]
     
     
      enoddi:get-colspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
      d:NoDataByDefinition
     
     
      enoddi:get-colspan
     
     
      1
     
     
     
      Default case for this function.
     
    
    
     
    
    
     
      l:Code[parent::l:CodeList]
     
     
      enoddi:get-level-number
     
     
      @levelNumber
     
     
     
      Getting the level of a l:Code when it has no parent CodeList.
     
    
    
     
    
    
     
      d:StructuredMixedGridResponseDomain[parent::d:QuestionGrid[d:GridDimension/d:Roster]]
     
     
      enoddi:get-minimum-lines
     
     
      ../d:GridDimension/d:Roster/@minimumRequired
     
     
     
      Getting the minimum required associated to a d:StructuredMixedGridResponseDomain.
     
    
    
     
      d:QuestionGrid[d:GridDimension/d:Roster]
     
     
      enoddi:get-minimum-lines
     
     
      d:GridDimension/d:Roster/@minimumRequired
     
     
     
      Getting the minimum required associated to a dynamical d:QuestionGrid
     
    
    
     
      d:StructuredMixedGridResponseDomain[parent::d:QuestionGrid[d:GridDimension/d:Roster]]
     
     
      enoddi:get-maximum-lines
     
     
      ../d:GridDimension/d:Roster/@maximumAllowed
     
     
     
      Getting the maximum lines allowed associated to a d:StructuredMixedGridResponseDomain.
     
    
    
     
      d:QuestionGrid[d:GridDimension/d:Roster]
     
     
      enoddi:get-maximum-lines
     
     
      d:GridDimension/d:Roster/@maximumAllowed
     
     
     
      Getting the maximum lines allowed associated to a dynamical d:QuestionGrid
     
    
    
     
    
    
     
      *[contains(name(),'Domain') and ancestor::d:QuestionItem]
     
     
      enoddi:get-container
     
     
      'question'
     
     
     
      Return a string describing the significant ancestor of a ResponseDomain or a ResponseDomainReference.
     
    
    
     
      *[contains(name(),'Domain') and ancestor::d:QuestionGrid]
     
     
      enoddi:get-container
     
     
      'grid'
     
     
     
      Return a string describing the significant ancestor of a ResponseDomain or a ResponseDomainReference.
     
    
    
     
    
    
     
      l:Code
     
     
      enoddi:get-image
     
     
      r:CategoryReference/l:Category/l:Generation/r:OtherMaterial[r:TypeOfMaterial='image']/r:ExternalURLReference
     
     
     
      Returns the image associated to a Code
     
    
    
     
    
    
     
      *
     
     
      enoddi:get-minimum-responses
     
     
      r:ResponseCardinality/@minimumResponses
     
     
     
      Minimum number of responses
     
    
    
     
    
    
     
      *
     
     
      enoddi:is-required
     
     
      r:ResponseCardinality/@minimumResponses!='' and r:ResponseCardinality/@minimumResponses!='0'
     
     
     
      Return a boolean which define if the response is mandatory.
     
    
    
     
    
    
     
      d:ExternalAid
     
     
      enoddi:get-flowcontrol-condition
     
     
      r:OtherMaterial/r:Description/r:Content/xhtml:div[@class='FlowControl']/xhtml:div[@class='Expression']
     
     
    
    
     
    
    
     
      d:Loop
     
     
      enoddi:get-loop-name
     
     
      d:ConstructName/r:String
     
     
      lang-choice
     
     
      Returns the name of the loop
     
    
    
     
      d:Loop
     
     
      enoddi:get-minimum-occurrences
     
     
      d:InitialValue/r:Command/r:CommandContent
     
     
     
      Returns the formula of the initial value
     
    
    
     
      d:Loop
     
     
      enoddi:get-minimum-occurrences-variables
     
     
      d:InitialValue/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Returns the list of the variables used in the InitialValue
     
    
    
     
      d:Loop
     
     
      enoddi:get-maximum-occurrences
     
     
      d:LoopWhile/r:Command/r:CommandContent
     
     
     
      Returns the formula of the LoopWhile
     
    
    
     
      d:Loop
     
     
      enoddi:get-maximum-occurrences-variables
     
     
      d:LoopWhile/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Returns the list of the variables used in the LoopWhile
     
    
    
     
      d:Loop
     
     
      enoddi:get-descendant-module-names
     
     
      descendant::d:Sequence[d:TypeOfSequence/text()='module']/d:ConstructName/r:String
     
     
      lang-choice
     
     
      Returns the list of Ids of the module type Sequences in a loop
     
    
    
     
      d:Loop
     
     
      enoddi:get-descendant-loop-ids
     
     
      descendant::d:Loop/r:ID
     
     
     
      Returns the list of Ids of the loops in a loop
     
    
    
     
    
    
     
      d:Loop[count(d:ControlConstructReference)=1 and d:ControlConstructReference/r:TypeOfObject='IfThenElse']
     
     
      enoddi:get-loop-filter
     
     
      d:ControlConstructReference/d:IfThenElse/d:IfCondition/r:Command/r:CommandContent
     
     
     
      Returns the filter condition of a loop
     
    
    
     
      d:Loop[count(d:ControlConstructReference)=1 and d:ControlConstructReference/r:TypeOfObject='IfThenElse']
     
     
      enoddi:get-loop-filter-variables
     
     
      d:ControlConstructReference/d:IfThenElse/d:IfCondition/r:Command/r:Binding/r:SourceParameterReference/r:ID
     
     
     
      Returns the variables of the filter condition of a loop
     
    
    
     
    
    
     
      d:ThenConstructReference[parent::d:IfThenElse/parent::d:ControlConstructReference[parent::d:Loop and not(preceding-sibling::d:ControlConstructReference or following-sibling::d:ControlConstructReference)]]
     
     
      enoddi:get-filtered-loop-name
     
     
      enoddi:get-container-name(parent::d:IfThenElse/parent::d:ControlConstructReference/parent::d:Loop)
     
     
     
      Returns the name of the loop which occurrences are filtered by the filter
     
    
    
     
    
    
     
      d:Sequence[d:TypeOfSequence/text()='module']
     
     
      enoddi:is-first-module-in-loop
     
     
      (exists(parent::d:ControlConstructReference/parent::d:Loop) or exists(parent::d:ControlConstructReference/parent::d:Sequence/parent::d:ThenConstructReference/parent::d:IfThenElse/parent::d:ControlConstructReference)) and count(../preceding-sibling::d:ControlConstructReference)=0
     
     
     
      Returns true if the module type Sequence is the first in a Loop
     
    
    
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:is-first-calculated-variable
     
     
      not(exists(preceding-sibling::d:GenerationInstruction))
     
     
     
      Returns true if the calculated variable is the first in the document
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:is-scope-questionconstruct
     
     
      d:ControlConstructReference/r:TypeOfObject='QuestionConstruct'
     
     
     
      Returns true if the calculated variable has QuestionConstruct scope defined
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:is-scope-loop
     
     
      d:ControlConstructReference/r:TypeOfObject='Loop'
     
     
     
      Returns true if the calculated variable has Loop scope defined
     
    
    
     
      d:GenerationInstruction
     
     
      enoddi:get-scope-id
     
     
      d:ControlConstructReference/r:ID
     
     
     
      Returns the ID of the object which should be the scope (whether QuestionConstruct or Loop)
     
    
    
     
    
    
     
      d:Sequence[d:TypeOfSequence/text()='module']
     
     
      enoddi:get-module-name
     
     
      d:ConstructName/r:String
     
     
      lang-choice
     
     
      The short label of a module is the name of the module type Sequence
     
    
    
     
      d:Sequence[d:TypeOfSequence/text()='submodule']
     
     
      enoddi:get-submodule-name
     
     
      d:ConstructName/r:String
     
     
      lang-choice
     
     
      The short label of a submodule is the name of the submodule type Sequence
     
    
    
     
    
    
     
      d:QuestionItem
     
     
      enoddi:get-question-tooltip
     
     
      d:InterviewerInstructionReference/d:Instruction[d:InstructionName/r:String='tooltip']/d:InstructionText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      Returns the content of a tooltip type Instruction at the Question level
     
    
    
     
      l:Code
     
     
      enoddi:get-question-response-tooltip
     
     
      descendant::d:InterviewerInstructionReference/d:Instruction[d:InstructionName/r:String='tooltip']/d:InstructionText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      Returns the content of a tooltip type Instruction in a response of type Code
     
    
    
     
      d:Instruction
     
     
      enoddi:get-question-instruction-tooltip
     
     
      d:InterviewerInstructionReference/d:Instruction[d:InstructionName/r:String='tooltip']/d:InstructionText/d:LiteralText/d:Text
     
     
      lang-choice
     
     
      Returns the content of a tooltip type Instruction at the instruction of a Question level
     
    
    
     
    
    
     
      d:ThenConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:get-hideable-description
     
     
      ../r:Description/r:Content
     
     
      lang-choice
     
     
      Returns the content of the description of the IfThenElse realted to a ThenConstructReference.
     
    
    
     
      d:ElseConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:get-hideable-description
     
     
      ../r:Description/r:Content
     
     
      lang-choice
     
     
      Returns the content of the description of the IfThenElse realted to a ElseConstructReference.
     
    
    
     
    
    
     
      d:ThenConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:is-module-filter
     
     
      exists(descendant::d:Sequence[d:TypeOfSequence='module'])
     
     
     
      Returns true if the ThenConstructReference contains a module type Sequence.
     
    
    
     
      d:ElseConstructReference[parent::d:IfThenElse/d:TypeOfIfThenElse='hideable']
     
     
      enoddi:is-module-filter
     
     
      exists(descendant::d:Sequence[d:TypeOfSequence='module'])
     
     
     
      Returns true if the ElseConstructReference contains a module type Sequence.
     
    
    
     
    
    
     
      *
     
     
      enoddi:is-external-variable
     
     
      'false'
     
     
     
      Returns false in default case, when the Variable element does not represent an external variable
     
    
    
     
      l:Variable[not(r:QuestionReference or r:SourceParameterReference or d:GenerationInstruction)]
     
     
      enoddi:is-external-variable
     
     
      'true'
     
     
     
      Returns true if the Variable element represents an external variable
     
    
    
     
    
    
     
      *
     
     
      enoddi:is-programlanguage-xpath
     
     
      (//r:Command/r:ProgramLanguage)[1]='xpath'
     
     
     
      Returns true if the first ProgramLanguage tag encountered contains xpath (which must mean that the programming language used is xpath)
     
    
    
     
    
    
     
      d:Loop
     
     
      enoddi:get-loop-first-descendant-question
     
     
      descendant::d:QuestionItem[1]/d:QuestionItemName/r:String
     
     
      lang-choice
     
     
      Returns the first descendant question of a loop, which is expected to be the question used as the iterator in case of a generating loop
     
    
    
     
      d:QuestionItem[not(d:StructuredMixedResponseDomain) and r:UserAttributePair/r:AttributeValue='HouseholdPairing']
     
     
      enoddi:get-pairwise-scope
     
     
      r:Binding/r:TargetParameterReference[r:TypeOfObject='InParameter']/r:ID
     
     
     
      Returns the r:ID of the pairwise scope
     
    
    
     
      d:CodeDomain
     
     
      enoddi:get-external-codelist-name
     
     
      r:CodeListReference/l:CodeList[r:CodeListReference/@isExternal]/l:CodeListName/r:String
     
     
      lang-choice
     
     
      Returns the name of an external codelist
     
    
    
     
      d:CodeDomain
     
     
      enoddi:get-suggester-configuration
     
     
      r:CodeListReference/l:CodeList/r:UserAttributePair[r:AttributeKey='SuggesterConfiguration']/r:AttributeValue
     
     
     
      Returns the configuration for a suggester
     
    
    
     
    
    
     
    
   
   
  
 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy