complexType "DataSetType"
Namespace:
Content:
complex, 7 attributes, 20 elements
Defined:
globally in dataset.xsd; see XML source
Includes:
definitions of 7 elements
Used:
XML Representation Summary
<...
   
 = 
("Add" | "Update" | "Delete")
 = 
(xs:string | xs:string)
 = 
("Agency" | "Maintainable") : "Agency"
 = 
xs:boolean
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
 = 
"true"
 = 
("singleQuote" | "doubleQuote" | "none")
   
>
   
Content: 
</...>
Content Model Elements (20):
DataSetName, IdentifyingVariableReference, ItemSet, RecordSet, VariableSet, p:EndOfLineMarker, p:PhysicalStructureLinkReference, r:Agency, r:ArrayBase, r:BasedOnObject, r:DefaultVariableSchemeReference, r:ID, r:MaintainableObject, r:URN, r:UserAttributePair, r:UserID, r:Version, r:VersionRationale, r:VersionResponsibility, r:VersionResponsibilityReference
All Direct / Indirect Based Elements (1):
DataSet
Known Usage Locations
Annotation
DataSet is a substitution for a BaseRecordLayout and allows for in-line inclusion of micro or unit level data in the metadata file. This is valuable for small datasets or cases where there is a need to combine the metadata and data within a single file. In addition to the PhysicalStructureReference the DataSet indicates the ArrayBase if applicable, a name for the DataSet, a reference to the default Variable Scheme used by the data set, a reference to an Identifying Variable (e.g. case number), and a choice of organization order for the data: Record Set, Item Set, or Variable Set. RecordSet describes records of data which contain the same variables in the same order, ItemSet describes individual items of a dataset in any order. VariableSet describes the values for a given variable in record order.
Type Definition Detail
Type Derivation Tree
r:AbstractIdentifiableType (extension)
      r:VersionableType (extension)
          p:BaseRecordLayoutType (extension)
              DataSetType
XML Source (w/o annotations (8); see within schema source)
<xs:complexType name="DataSetType">
<xs:complexContent>
<xs:extension base="p:BaseRecordLayoutType">
<xs:sequence>
<xs:element minOccurs="0" ref="r:ArrayBase"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataSetName"/>
<xs:element minOccurs="0" ref="IdentifyingVariableReference"/>
<xs:element minOccurs="0" ref="r:DefaultVariableSchemeReference"/>
<xs:choice minOccurs="0">
<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 (all declarations; defined within this component only; 7/20)
DataSetName
Type:
r:NameType, complex content
A name for the data set. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataSetName"/>

IdentifyingVariableReference
Type:
r:ReferenceType, complex content
Reference to the variable used to identify a specific record within the data set (unique identifier or key).
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="IdentifyingVariableReference"/>

ItemSet
Type:
ItemSetType, complex content
Storage format for random order item variables. Each ItemValue references it's defining variable, it's record identifier, and the it's value.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="ItemSet"/>

r: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.).
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:ArrayBase"/>

r:DefaultVariableSchemeReference
Type:
r:SchemeReferenceType, complex content
A reference to the Variable Scheme containing all or a majority of the variables in the data set. May be overridden by an individual VariableReference.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:DefaultVariableSchemeReference"/>

RecordSet
Type:
RecordSetType, complex content
Storage format arranged record by record. A RecordSet requires a list of variables to appear in a specified order.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="RecordSet"/>

VariableSet
Type:
VariableSetType, complex content
Storage format arranged variable by variable. Item values are listed in record order with the assumption that each record will occupy the position in each array.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="VariableSet"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set