complexType "ContentType"
Namespace:
Content:
mixed (allows character data), 8 attributes, 16 elements
Defined:
globally in reusable.xsd; see XML source
Includes:
definitions of 8 attributes
Used:
XML Representation Summary
<...
   
 = 
xs:language
 = 
xs:boolean : "false"
 = 
xs:boolean : "true"
 = 
list of xs:language
 = 
xs:date
 = 
xs:boolean : "true"
 = 
xs:string
 = 
xs:string
   
>
   
Content: 
</...>
Known Direct Subtypes (1):
All Direct / Indirect Based Elements (2):
Known Usage Locations
Annotation
Supports the optional use of XHTML formatting tags within the string structure. XHTML tag content is controlled by the schema, see Part I of the DDI Technical Manual for a detailed list of available tags. Language of the string is defined by the attribute xml:lang. The content can be identified as translated (isTranslated), subject to translation (isTranslatable), the result of translation from one or more languages (translationSourceLanguages), and carry an indication whether or not it should be treated as plain text (isPlain).
XML Source (w/o annotations (10); see within schema source)
<xs:complexType mixed="true" name="ContentType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:group ref="xhtml:BlkNoForm.mix"/>
</xs:choice>
<xs:attribute ref="xml:lang"/>
<xs:attribute default="false" name="isTranslated" type="xs:boolean"/>
<xs:attribute default="true" name="isTranslatable" type="xs:boolean"/>
<xs:attribute name="translationSourceLanguage" type="LanguageList" use="optional"/>
<xs:attribute name="translationDate" type="xs:date" use="optional"/>
<xs:attribute default="true" name="isPlainText" type="xs:boolean"/>
<xs:attribute name="textFormat" type="xs:string"/>
<xs:attribute name="scope" type="xs:string"/>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 8/8)
isPlainText
Type:
xs:boolean, predefined
Use:
optional
Indicates that the content does not use the embedded XHTML schemas. DDI recommends against using the embedded XHTML schemas, as these may be removed in future versions. When including XHTML content, set the textFormat to "xhtml", set isPlainText to "true", and XML encode the XHTML. You may use DDIProfile to fix the value of this attribute to true in cases where you wish to indicate that your system treats all content should be treated as plain text.
Attribute Value
Default:
"true"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="true" name="isPlainText" type="xs:boolean"/>

isTranslatable
Type:
xs:boolean, predefined
Use:
optional
Indicates whether content is translatable (true) or not (false).
Attribute Value
Default:
"true"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="true" name="isTranslatable" type="xs:boolean"/>

isTranslated
Type:
xs:boolean, predefined
Use:
optional
Indicates whether content is a translation (true) or an original (false).
Attribute Value
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="false" name="isTranslated" type="xs:boolean"/>

scope
Type:
xs:string, predefined
Use:
optional
Allows the provision of denoting of named section. Identification of a content sections would be the combination of language and scope, i.e. if more than one section is in English they must have different scope designations.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="scope" type="xs:string"/>

textFormat
Type:
xs:string, predefined
Use:
optional
Specifies the format of the text content. Examples: text/plain is preferred, text/html, application/xhtml+xml, etc. see https://www.w3.org/2003/01/xhtml-mimetype/ for additional options. Example of vendor specific: text/vnd.example.markdown
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="textFormat" type="xs:string"/>

translationDate
Type:
xs:date, predefined
Use:
optional
The date the content was translated. Provision of translation date allows user to verify if translation was available during data collection or other time linked activity.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="translationDate" type="xs:date" use="optional"/>

translationSourceLanguage
Type:
Use:
optional
List the language or language codes in a space delimited array. The language original may or may not be provided in this bundle of language specific strings.
Attribute Value
list of xs:language
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="translationSourceLanguage" type="LanguageList" use="optional"/>

xml:lang
Type:
xs:language, predefined
Use:
optional
Indicates the language of content.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute ref="xml:lang"/>

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