complexType "sumStatType"
Namespace:
Content:
mixed (allows character data), 18 attributes, 24 elements
Defined:
globally in codebook.xsd; see XML source
Includes:
definitions of 6 attributes
Used:
XML Representation Summary
<...
   
 = 
xs:ID
 = 
xs:NMTOKEN
 = 
xs:language
 = 
("archive" | "producer") : "producer"
 = 
xs:string
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear)
 = 
xs:anyURI
 = 
xs:anyURI
 = 
xs:boolean : "false"
 = 
xs:boolean : "true"
 = 
xs:string
 = 
xs:date
 = 
("wgtd" | "not-wgtd") : "not-wgtd"
 = 
xs:IDREFS
 = 
xs:IDREFS
 = 
("mean" | "medn" | "mode" | "vald" | "invd" | "min" | "max" | "stdev" | "other")
 = 
xs:IDREFS
 = 
xs:NMTOKEN
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
baseElementType (extension)
  abstractTextType (restriction)
      simpleTextType (extension)
          sumStatType
XML Source (w/o annotations (6); see within schema source)
<xs:complexType mixed="true" name="sumStatType">
<xs:complexContent>
<xs:extension base="simpleTextType">
<xs:attribute default="not-wgtd" name="wgtd">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="wgtd"/>
<xs:enumeration value="not-wgtd"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="wgt-var" type="xs:IDREFS"/>
<xs:attribute name="weight" type="xs:IDREFS"/>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="mean"/>
<xs:enumeration value="medn"/>
<xs:enumeration value="mode"/>
<xs:enumeration value="vald"/>
<xs:enumeration value="invd"/>
<xs:enumeration value="min"/>
<xs:enumeration value="max"/>
<xs:enumeration value="stdev"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="access" type="xs:IDREFS" use="optional"/>
<xs:attribute name="otherType" type="xs:NMTOKEN" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 6/18)
access
Type:
xs:IDREFS, predefined
Use:
optional
ID values of all elements in the Data Access and Metadata Access section that describe access conditions for this statistic.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="access" type="xs:IDREFS" use="optional"/>

otherType
Type:
xs:NMTOKEN, predefined
Use:
optional
A value taken from a controlled vocabulary, if option for type is given a value of "other". This option should only be used when applying a controlled vocabulary to this attribute. Use the complex element controlledVocabUsed to identify the controlled vocabulary to which the selected term belongs.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="otherType" type="xs:NMTOKEN" use="optional"/>

type
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
required
Type of statistics being shown: mean, median, mode, valid cases, invalid cases, minimum, maximum, or standard deviation.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"mean", "medn", "mode", "vald", "invd", "min", "max", "stdev", "other"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"mean", "medn", "mode", "vald", "invd", "min", "max", "stdev", "other"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="mean"/>
<xs:enumeration value="medn"/>
<xs:enumeration value="mode"/>
<xs:enumeration value="vald"/>
<xs:enumeration value="invd"/>
<xs:enumeration value="min"/>
<xs:enumeration value="max"/>
<xs:enumeration value="stdev"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

weight
Type:
xs:IDREFS, predefined
Use:
optional
ID of the weight element(s) in the data collection description where multiple variables use the same weight (such as a 10% sample).
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="weight" type="xs:IDREFS"/>

wgt-var
Type:
xs:IDREFS, predefined
Use:
optional
Reference to the variable(s) containing the weight used.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="wgt-var" type="xs:IDREFS"/>

wgtd
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Statistics are weighted or not.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"wgtd", "not-wgtd"
Default:
"not-wgtd"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"wgtd", "not-wgtd"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="not-wgtd" name="wgtd">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="wgtd"/>
<xs:enumeration value="not-wgtd"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

XML schema documentation generated with DocFlex/XML 1.12 using DocFlex/XML XSDDoc 2.9.0 template set