DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "DataSetType"
Namespace:
Content:
complex, 7 attributes, 11 elements
Defined:
globally in dataset.xsd, see XML source
Includes:
definitions of 7 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*, PhysicalStructureReference, ArrayBase?, Name+, IdentifyingVariableReference?, DefaultVariableSchemeReference?, (RecordSet | ItemSet | VariableSet)
</...>
Content Model Elements (11):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          p:BaseRecordLayoutType (extension)
              DataSetType (extension)
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="DataSetType">
<xs:complexContent>
<xs:extension base="p:BaseRecordLayoutType">
<xs:sequence>
<xs:element minOccurs="0" name="ArrayBase" type="xs:integer"/>
<xs:element maxOccurs="unbounded" ref="Name"/>
<xs:element minOccurs="0" ref="IdentifyingVariableReference"/>
<xs:element minOccurs="0" ref="DefaultVariableSchemeReference"/>
<xs:choice>
<xs:element ref="RecordSet"/>
<xs:element ref="ItemSet"/>
<xs:element ref="VariableSet"/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 7/11)
ArrayBase
Type:
xs:integer, predefined, simple content
Sets the array base for any arrays used in the definition (that is, whether the first value is in position 0 or 1, etc.). This may be the data array in a delimited data file or the measure array for measures that are bundled and stored in a single location. Array base is generally set to either 0 or 1. There is no override provided as systems processing a record would use a consistent array base.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ArrayBase" type="xs:integer"/>

DefaultVariableSchemeReference
Type:
r:ReferenceType, complex content
References the variable scheme from which identifying values may be inherited by the items contained in the data set. This allows for only the ID values to be specified at the item level, to avoid needless repetition.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="DefaultVariableSchemeReference"/>

IdentifyingVariableReference
Type:
r:ReferenceType, complex content
References the variable which holds the primary key or index values.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="IdentifyingVariableReference"/>

ItemSet
Type:
ItemSetType, complex content
Storage form for random order item variables.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="ItemSet"/>

Name
Type:
Name for data set
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" ref="Name"/>

RecordSet
Type:
RecordSetType, complex content
Storage for the traditional rectangular form of data.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="RecordSet"/>

VariableSet
Type:
VariableSetType, complex content
Storage form that captures all values of each variable together.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="VariableSet"/>

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