complexType "ContentType"
Namespace: |
|
Content: |
mixed (allows character data), 8 attributes, 16 elements |
Defined: |
|
Includes: |
|
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 |
|
|
> |
|
|
</...> |
Known Direct Subtypes (1):
-
All Direct / Indirect Based Elements (2):
-
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:choice maxOccurs="unbounded" minOccurs="0">
</xs:choice>
<xs:attribute default="false" name="isTranslated" type="xs:boolean"/>
<xs:attribute default="true" name="isTranslatable" type="xs:boolean"/>
<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
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
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
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)
translationSourceLanguage
-
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
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:language, predefined
|
Use: |
optional |
Indicates the language of content.
XML Source (w/o annotations (1); see within schema source)