DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "CategoryType"
Namespace:
Content:
complex, 8 attributes, 7 elements
Defined:
Includes:
definitions of 1 attribute and 4 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    id
 = 
xs:string
    isVersionable
 = 
"true"
    missing
 = 
xs:boolean
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    version
 = 
xs:string
    versionDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    >
   
Content: 
UserID*, VersionResponsibility?, VersionRationale*, CategoryName*, r:Label*, r:Description*, Generation?
</...>
Content Model Elements (7):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
A description of a particular category or response. OECD Glossary of Statistical Terms: Generic term for items at any level within a classification, typically tabulation categories, sections, subsections, divisions, subdivisions, groups, subgroups, classes and subclasses.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          CategoryType (extension)
XML Source (w/o annotations (5); see within schema source)
<xs:complexType name="CategoryType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CategoryName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>
<xs:element minOccurs="0" ref="Generation"/>
</xs:sequence>
<xs:attribute name="missing" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (defined in this component only; 1/8)
missing
Type:
xs:boolean, predefined
Use:
optional
Indicates if the category contains missing data or not.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="missing" type="xs:boolean" use="optional"/>
Content Element Detail (defined in this component only; 4/7)
CategoryName
Type:
r:NameType, simple content
Simple Content
xs:string
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CategoryName"/>

Generation
Type:
GenerationType, complex content
Generation/derivation details of the category.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="Generation"/>

r:Description
Type:
r:StructuredStringType, mixed content
Description/definition of the category. Note that comparison of categories is determined by the Definition rather than the Label. For example, while the Definition of a Chemist in London and a Pharmacist in New York is the same and comparable, the definitions of Chemist in each location differ significantly and are NOT comparable
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>

r:Label
Type:
r:LabelType, mixed content
A display label for the category.
XML Source (w/o annotations (1); 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