DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "QuestionConstructType"
Namespace:
Content:
complex, 7 attributes, 14 elements
Defined:
Includes:
definitions of 5 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    id
 = 
xs:string
    isVersionable
 = 
"true"
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    version
 = 
xs:string
    versionDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    >
   
Content: 
UserID*, VersionResponsibility?, VersionRationale*, ConstructName*, r:Label*, r:Description*, ExternalAid*, (ExternalInterviewerInstructionReference | InterviewerInstructionReference)*, QuestionReference, ResponseSequence?, ResponseUnit*, r:AnalysisUnit*, r:UniverseReference*
</...>
Content Model Elements (14):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Structures the construct which ties together questions and the programmatic logic of the control constructs.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          ControlConstructType (extension)
              QuestionConstructType (extension)
XML Source (w/o annotations (6); see within schema source)
<xs:complexType name="QuestionConstructType">
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element ref="QuestionReference"/>
<xs:element minOccurs="0" ref="ResponseSequence"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ResponseUnit"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:AnalysisUnit"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 5/14)
QuestionReference
Type:
r:ReferenceType, complex content
A reference to a question.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="QuestionReference"/>

r:AnalysisUnit
Type:
r:CodeValueType, simple content
The analysis unit, expressed as a term which may come from a controlled vocabulary.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:AnalysisUnit"/>

r:UniverseReference
Type:
r:ReferenceType, complex content
Reference to the description of the persons or other elements that are the object of the research and to which any analytic results refer.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference"/>

ResponseSequence
Type:
SpecificSequenceType, complex content
Describes the sequencing of the response categories or response options to a question
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="ResponseSequence"/>

ResponseUnit
Type:
The response unit.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ResponseUnit"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set