DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "DataExistenceType"
Namespace:
Content:
complex, 2 elements
Defined:
Includes:
definitions of 2 elements
Used:
XML Representation Summary
<...>
   
Content: 
Level+ | DiscreteCategory
</...>
Content Model Elements (2):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Allows for inclusion of upper level categories that will not have associated data. In this case they act as the DDI version 2 form of category group.
XML Source (w/o annotations (3); see within schema source)
<xs:complexType name="DataExistenceType">
<xs:choice>
<xs:element maxOccurs="unbounded" name="Level" type="xs:integer"/>
<xs:element fixed="true" name="DiscreteCategory" type="xs:boolean"/>
</xs:choice>
</xs:complexType>
Content Element Detail (defined in this component only; 2/2)
DiscreteCategory
Type:
xs:boolean, predefined, simple content
This element is to be used if only the most discrete data elements will have data. It has a fixed value, so it will indicate which categories have data based on their description.
Simple Content
Fixed:
"true"
XML Source (w/o annotations (1); see within schema source)
<xs:element fixed="true" name="DiscreteCategory" type="xs:boolean"/>

Level
Type:
xs:integer, predefined, simple content
Indicates the levels that will have data, if only certain levels will do so.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" name="Level" type="xs:integer"/>

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