complexType "formType"
Namespace:
Content:
mixed (allows character data), 11 attributes, 10 elements
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
globally in codebook.xsd; see XML source
Includes:
definitions of 3 attributes, 2 elements
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:string
 = 
xs:string
 = 
xs:string
    >
   
Content: 
{text} × (ExtLink* | Link* | div | emph | head | hi | list | p | itm | label)*
</...>
Content Model Elements (10):
ExtLink, Link, div, emph, head, hi, itm, label, list, p
Known Direct Subtypes (8):
divType, emphType, headType, hiType, itmType, labelType, listType, pType
All Direct / Indirect Based Elements (8):
div, emph, head, hi, itm, label, list, p
Known Usage Locations
Annotation

Form Type

Description

This type defines the basis for all elements in the FORM content group. This is derived from the abstractTextType. The content may still be mixed (text and child elements), but the child elements are restricted to be those from the PHRASE and FORM content groups, or the itm and label elements. Further, the possible attributes are restricted. This type is abstract, so specific form elements will further refine this type, but all elements in the FORM content group will conform to this structure and may be processed as such.
Type Definition Detail
Type Derivation Tree
baseElementType (extension)
  abstractTextType (restriction)
      formType
XML Source (w/o annotations (1); see within schema source)
<xs:complexType abstract="true" mixed="true" name="formType">
<xs:complexContent>
<xs:restriction base="abstractTextType">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:group ref="PHRASE"/>
<xs:group ref="FORM"/>
<xs:element ref="itm"/>
<xs:element ref="label"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="n" type="xs:string"/>
<xs:attribute name="rend" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; 11/11)
ddiCodebookUrn
Type:
xs:anyURI, predefined
Use:
optional
Defined:
locally within GLOBALS attributeGroup
Used to capture the DDI-Codebook type URN for the element. This is used to assign a DDI-Codebook specific URN to the element, according the format prescribed by the DDI-Codebook standard.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="ddiCodebookUrn" type="xs:anyURI" use="optional"/>

ddiLifecycleUrn
Type:
xs:anyURI, predefined
Use:
optional
Defined:
locally within GLOBALS attributeGroup
Used to capture the DDI-Lifecycle type URN for the element. This may be captured during translation from DDI-Lifecycle to DDI-Codebook structure or in preparation for transferring to a DDI-Lifecycle structure.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="ddiLifecycleUrn" type="xs:anyURI" use="optional"/>

elementVersion
Type:
xs:string, predefined
Use:
optional
Defined:
locally within GLOBALS attributeGroup
Captures version of the element
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="elementVersion" type="xs:string" use="optional"/>

elementVersionDate
Type:
Use:
optional
Defined:
locally within GLOBALS attributeGroup
Indicates version date for the element. Use YYYY-MM-DD, YYYY-MM, or YYYY formats.
Attribute Value
xs:dateTime | xs:date | xs:gYearMonth | xs:gYear
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="elementVersionDate" type="dateSimpleType" use="optional"/>

ID
Type:
xs:ID, predefined
Use:
optional
Defined:
locally within GLOBALS attributeGroup
XML Source (see within schema source)
<xs:attribute name="ID" type="xs:ID" use="optional"/>

n
Type:
xs:string, predefined
Use:
optional
Defined:
locally within (this) formType complexType
XML Source (see within schema source)
<xs:attribute name="n" type="xs:string"/>

rend
Type:
xs:string, predefined
Use:
optional
Defined:
locally within (this) formType complexType
XML Source (see within schema source)
<xs:attribute name="rend" type="xs:string"/>

source
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Defined:
locally within GLOBALS attributeGroup
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"archive", "producer"
Default:
"producer"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"archive", "producer"
XML Source (see within schema source)
<xs:attribute default="producer" name="source">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="archive"/>
<xs:enumeration value="producer"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

type
Type:
xs:string, predefined
Use:
optional
Defined:
locally within (this) formType complexType
XML Source (see within schema source)
<xs:attribute name="type" type="xs:string"/>

xml-lang
Type:
xs:NMTOKEN, predefined
Use:
optional
Defined:
locally within GLOBALS attributeGroup
DO NOT USE THIS ATTRIBUTE. Its inclusion is an error that was persisted to retain backward compatibility. If this attribute has been used, transfer the content to xml:lang.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="xml-lang" type="xs:NMTOKEN" use="optional"/>

xml:lang
Type:
xs:language, predefined
Use:
optional
Defined:
by reference within GLOBALS attributeGroup
XML Source (see within schema source)
<xs:attribute ref="xml:lang" use="optional"/>
Content Element Detail (all declarations; 10/10)
div
Type:
divType, complex content
Defined:
by reference within FORM group
XML Source (see within schema source)
<xs:element ref="div"/>

emph
Type:
emphType, mixed content
Defined:
by reference within FORM group
XML Source (see within schema source)
<xs:element ref="emph"/>

ExtLink
Type:
ExtLinkType, mixed content
Defined:
by reference within PHRASE group
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExtLink"/>

head
Type:
headType, mixed content
Defined:
by reference within FORM group
XML Source (see within schema source)
<xs:element ref="head"/>

hi
Type:
hiType, mixed content
Defined:
by reference within FORM group
XML Source (see within schema source)
<xs:element ref="hi"/>

itm
Type:
itmType, mixed content
Defined:
by reference within (this) formType complexType
XML Source (see within schema source)
<xs:element ref="itm"/>

label
Type:
labelType, mixed content
Defined:
by reference within (this) formType complexType
XML Source (see within schema source)
<xs:element ref="label"/>

Link
Type:
LinkType, mixed content
Defined:
by reference within PHRASE group
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Link"/>

list
Type:
listType, complex content
Defined:
by reference within FORM group
XML Source (see within schema source)
<xs:element ref="list"/>

p
Type:
pType, mixed content
Defined:
by reference within FORM group
XML Source (see within schema source)
<xs:element ref="p"/>

XML schema documentation generated with DocFlex/XML 1.8.7 using DocFlex/XML XSDDoc 2.7.0 template set