DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "LoopType"
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)*, LoopVariableReference?, InitialValue?, LoopWhile, StepValue?, ControlConstructReference*
</...>
Content Model Elements (14):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Structures a control construct which loops until a limiting condition is met. The ControlConstruct contained in the Loop operates on the LoopVariable until the LoopWhile condition is met, and then control is handed back to the containing control construct.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          ControlConstructType (extension)
              LoopType (extension)
XML Source (w/o annotations (5); see within schema source)
<xs:complexType name="LoopType">
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="LoopVariableReference"/>
<xs:element minOccurs="0" ref="InitialValue"/>
<xs:element ref="LoopWhile"/>
<xs:element minOccurs="0" ref="StepValue"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructReference"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 5/14)
ControlConstructReference
Type:
r:ReferenceType, complex content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructReference"/>

InitialValue
Type:
r:CodeType, complex content
The initial value to which the LoopVariable is set.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="InitialValue"/>

LoopVariableReference
Type:
r:ReferenceType, complex content
A reference to the variable (as used in the associated Codings) which is incremented or otherwise manipulated to meet the conditions stated in the LoopWhile condition.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="LoopVariableReference"/>

LoopWhile
Type:
r:CodeType, complex content
The condition which must be met for the Loop's functioning to cease; when this condition is met, control is handed back to the containing control construct.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="LoopWhile"/>

StepValue
Type:
r:CodeType, complex content
A Coding which is used to manipulate the LoopVariable after each iteration of the Loop's associated ControlConstruct element.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="StepValue"/>

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