DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "LabelType"
Namespace:
Content:
mixed, 7 attributes, 16 elements
Defined:
globally in reusable.xsd, see XML source
Includes:
definitions of 4 attributes
Used:
XML Representation Summary
<...
    locationVariant
 = 
xs:string
    maxLength
 = 
xs:integer
    translatable
 = 
xs:boolean : "true"
    translated
 = 
xs:boolean : "false"
    type
 = 
xs:string
    validForDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    xml:lang
 = 
xs:language
    >
   
Content: 
{text} × (h1 | h2 | h3 | h4 | h5 | h6 | ul | ol | dl | p | div | pre | blockquote | address | hr | table)*
</...>
Content Model Elements (16):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
A structured display label for the element. Label provides display content of a fully human readable display for the identification of the element. DDI does not impose any length limitations on Label. If length of Label is constrained due to use of the element in a specific application, the maximum length supported should be noted in the attribute maxLength. Label may be repeated to provide content for systems that have length constraints (e.g., some versions of the following statistical packages have character length limits: SAS 40-character, SPSS 120 characters, and Stata 80 characters).
Type Definition Detail
Type Derivation Tree
  LabelType (extension)
XML Source (w/o annotations (5); see within schema source)
<xs:complexType mixed="true" name="LabelType">
<xs:complexContent>
<xs:extension base="StructuredStringType">
<xs:attribute name="locationVariant" type="xs:string" use="optional"/>
<xs:attribute name="validForDate" type="BaseDateType" use="optional"/>
<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="maxLength" type="xs:integer" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (defined in this component only; 4/7)
locationVariant
Type:
xs:string, predefined
Use:
optional
Describes a specific geographic location that is also included in the spatial coverage section. The value is the geographic code found in the GeographyCode element.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="locationVariant" type="xs:string" use="optional"/>

maxLength
Type:
xs:integer, predefined
Use:
optional
A positive integer indicating the maximum number of characters in the label.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="maxLength" type="xs:integer" use="optional"/>

type
Type:
xs:string, predefined
Use:
optional
A value taken from a controlled vocabulary, describing the type of the label.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="type" type="xs:string" use="optional"/>

validForDate
Type:
Use:
optional
Allows the specification of valid date for the label. The date must be formatted according to ISO 8601.
Attribute Value
xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="validForDate" type="BaseDateType" use="optional"/>

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