DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "RepresentationType"
Namespace:
Content:
complex, 3 attributes, 7 elements
Defined:
Includes:
definitions of 3 attributes and 7 elements
Used:
XML Representation Summary
<...
    additivity
 = 
("Stock" | "Flow" | "NonAdditive")
    aggregationMethod
 = 
("Sum" | "Average" | "Count" | "Mode" | "Median" | "Maximum" | "Minimum" | "Percent" | "CumulativePercent" | "PercentileRank")
    measurementUnit
 = 
xs:string
    >
   
Content: 
Role?, WeightVariableReference*, StandardWeightReference?, ImputationReference?, ConcatenatedValue?, CodingInstructionsReference?, ValueRepresentation
</...>
Content Model Elements (7):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Type to describe the representation of a variable
XML Source (w/o annotations (11); see within schema source)
<xs:complexType name="RepresentationType">
<xs:sequence>
<xs:element minOccurs="0" name="Role" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="WeightVariableReference"/>
<xs:element minOccurs="0" ref="StandardWeightReference"/>
<xs:element minOccurs="0" ref="ImputationReference"/>
<xs:element minOccurs="0" ref="ConcatenatedValue"/>
<xs:element minOccurs="0" ref="CodingInstructionsReference"/>
<xs:element ref="ValueRepresentation"/>
</xs:sequence>
<xs:attribute name="measurementUnit" type="xs:string" use="optional"/>
<xs:attribute name="aggregationMethod" type="AggregationMethodCodeType" use="optional"/>
<xs:attribute name="additivity" type="AdditivityCodeType" use="optional"/>
</xs:complexType>
Attribute Detail (defined in this component only; 3/3)
additivity
Type:
Use:
optional
Records type of additivity, such as 'stock', 'flow', 'non-additive'.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"Stock"
"Flow"
"NonAdditive"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="additivity" type="AdditivityCodeType" use="optional"/>

aggregationMethod
Type:
Use:
optional
Indicates the type of aggregation method used.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"Sum"
 - 
Sum
"Average"
 - 
Average
"Count"
 - 
Count
"Mode"
 - 
Mode
"Median"
 - 
Median
"Maximum"
 - 
Maximum
"Minimum"
 - 
Minimum
"Percent"
 - 
Percent (Percentages are used to express how large one quantity is relative to another quantity)
"CumulativePercent"
 - 
Cumulative percent (percentage of items in its frequency distribution which are equal to or lower than the current item [maximum value is 100%])
"PercentileRank"
 - 
Percentile rank (The percentile rank of a item is the percentage of items in its frequency distribution which are lower [cannot reach 100%])
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="aggregationMethod" type="AggregationMethodCodeType" use="optional"/>

measurementUnit
Type:
xs:string, predefined
Use:
optional
Records the measurement unit, for example, 'km', 'miles', etc.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="measurementUnit" type="xs:string" use="optional"/>
Content Element Detail (defined in this component only; 7/7)
CodingInstructionsReference
Type:
r:ReferenceType, complex content
A reference to either a general or generation instruction that was provided to those who converted information from one form to another to create a particular variable. This might include the reordering of numeric information into another form or the conversion of textual information into numeric information. The specifics of this process are provided in the data collection module element Coding, which is referenced here.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="CodingInstructionsReference"/>

ConcatenatedValue
Type:
ConcatenatedValueType, complex content
Provides a reference to another variable and describes the method for deriving the value of this variable by concatenating a collection of other variables. This is useful in creating concatenated keys.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="ConcatenatedValue"/>

ImputationReference
Type:
r:ReferenceType, complex content
Reference to the imputation process described as a General Instruction in the Data Processing section in Data Collection.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="ImputationReference"/>

Role
Type:
xs:string, predefined, simple content
Describes a specific function of the variable, such as identity, weight, geographic variable, time, date, currency, etc.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="Role" type="xs:string"/>

StandardWeightReference
Type:
r:ReferenceType, complex content
Reference to the Weighting element, as described in the DataCollection module, which is relevant for analyzing this variable.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="StandardWeightReference"/>

ValueRepresentation
Type:
r:RepresentationType, complex content
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 5 elements
Describes the actual representation of the variables' values.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="ValueRepresentation"/>

WeightVariableReference
Type:
r:ReferenceType, complex content
Reference to weight variable(s) to be used with this variable.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="WeightVariableReference"/>

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