DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "ControlConstructType"
Namespace:
Content:
complex, 7 attributes, 9 elements
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
Includes:
definitions of 6 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)*
</...>
Content Model Elements (9):
Known Direct Subtypes (8):
All Direct / Indirect Based Elements (9):
Known Usage Locations
Annotation
Provides the basic, extensible structure for control elements used in describing flow logic within the instrument. The only data point which is inherited by the extended constructs based on this type is the identification of the control construct.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          ControlConstructType (extension)
XML Source (w/o annotations (4); see within schema source)
<xs:complexType abstract="true" name="ControlConstructType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ConstructName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 6/9)
ConstructName
Type:
r:NameType, simple content
Simple Content
xs:string
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ConstructName"/>

ExternalAid
Type:
r:OtherMaterialType, complex content
A pointer to an exteral aid presented by the instrument such as a text card, image, audio, or audiovisual aid. Typically a URN. Use type attribute to describe the type of external aid provided. Example of terms to use would include: imageOnly audioOnly audioVisual multiMedia. ExternalAid will be be available each time the control construct is invoked. Care should be taken when placing an ExternalAid in RepeatWhile, RepeatUntil and Loop constructs as it will recure each time the conditional statement is checked. This does not include interviewer instructions, which are handled separately.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid"/>

ExternalInterviewerInstructionReference
External reference to an interviewer instruction not expressed as DDI XML.
XML Source (w/o annotations (1); see within schema source)

InterviewerInstructionReference
Type:
Reference to an interviewer instruction expressed as DDI XML.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="InterviewerInstructionReference"/>

r:Description
Type:
r:StructuredStringType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>

r:Label
Type:
r:LabelType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

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