complexType "ContentType"
Namespace: |
|
Content: |
mixed (allows character data), 6 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" |
|
|
> |
|
|
</...> |
Content Model Elements (16):
-
xhtml:address,
xhtml:blockquote,
xhtml:div,
xhtml:dl,
xhtml:h1,
xhtml:h2,
xhtml:h3,
xhtml:h4,
xhtml:h5,
xhtml:h6,
xhtml:hr,
xhtml:ol,
xhtml:p,
xhtml:pre,
xhtml:table,
xhtml:ul
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 (8); 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:complexType>
|
Attribute Detail (all declarations; defined within this component only; 6/6)
isPlainText
-
Type: |
xs:boolean, predefined |
Use: |
optional |
Indicates that the content is to be treated as plain text (no formatting). 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"/>
|
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)