complexType "StringType"
Namespace: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
XML Representation Summary |
<... |
|
|
= |
xs:language |
|
= |
xs:boolean : "false" |
|
= |
xs:boolean : "true" |
|
= |
list of xs:language |
|
= |
xs:date |
|
|
> |
|
|
</...> |
Known Direct Subtypes (1):
-
All Direct / Indirect Based Elements (3):
-
Annotation
Allows for non-formatted strings that may be translations from other languages, or that may be translatable into other languages. Only one string per language/location type is allowed. String contains the following attributes, xml:lang to designate the language, isTranslated with a default value of false to designate if an object is a translation of another language, isTranslatable with a default value of true to designate if the content can be translated, translationSourceLanguage to indicate the source languages used in creating this translation, and translationDate.
Type Derivation Tree
xs:string (extension)
StringType
|
Derivation: |
extension of xs:string
|
XML Source (w/o annotations (6); see within schema source)
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="xml:lang"/>
<xs:attribute default="false" name="isTranslated" type="xs:boolean"/>
<xs:attribute default="true" name="isTranslatable" type="xs:boolean"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
|
Attribute Detail (all declarations; defined within this component only; 5/5)
isTranslatable
-
Type: |
xs:boolean, predefined |
Use: |
optional |
Indicates whether content is translatable (true) or not (false). An example of something that is not translatable would be a MNEMONIC of an object or a number.
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. Note that xml:lang allows for a simple 2 or 3 character language code or a language code extended by a country code , for example en-au for English as used in Australia.
XML Source (w/o annotations (1); see within schema source)