Template:InheritDClanguage: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
(Template "Vorlage:InheritDClanguage" created for use in several CO, IS, RS, TT documenation sites) |
(New parameter (contextLink) deployed) |
||
Line 10: | Line 10: | ||
|DCdescription = Recommended best practice is to use a controlled vocabulary such as [http://www.ietf.org/rfc/rfc4646.txt RFC 4646]. | |DCdescription = Recommended best practice is to use a controlled vocabulary such as [http://www.ietf.org/rfc/rfc4646.txt RFC 4646]. | ||
|railSemantics = This may be used for identifying the default language of all | |railSemantics = This may be used for identifying the default language of all {{Attr|name}} and {{Attr|description}} attributes in the children elements of {{{contextLink|FIXME}}}. | ||
{{Attr|name}} and {{Attr|description}} attributes in the | |||
If some element within the {{{contextLink|FIXME}}} element uses a separate {{Attr|xml:lang}} attribute its local re-definition overwrites the default language setting from this high-level element. | |||
|semantics = {{{semantics|}}} | |semantics = {{{semantics|}}} | ||
Line 22: | Line 22: | ||
|lang_de = {{{lang_de|}}} | |lang_de = {{{lang_de|}}} | ||
|constraints = | |constraints = The controlled vocabluary for the element {{{selfLink|FIXME}}} is the same as for the {{Attr|xml:lang}} attributes: [http://tools.ietf.org/html/bcp47 IETF BCP 47]. {{{constraints|}}} | ||
|constraints_de = {{{constraints_de|}}} | |constraints_de = {{{constraints_de|}}} |
Revision as of 12:56, 23 January 2012
dc:language
Scheme description / Schemenbeschreibung
Position of dc:language in the XML-Tree / Position von dc:language im XML-Baum
- Parent: FIXME
- Children: None
Multiplicity / Anzahl
Semantics / Bedeutung
- Dublin Core definition
- "A language of the resource."
- Dublin Core description
- "Recommended best practice is to use a controlled vocabulary such as RFC 4646."
- railML® semantics
- This may be used for identifying the default language of all name and description attributes in the children elements of FIXME.
If some element within the FIXME element uses a separate xml:lang attribute its local re-definition overwrites the default language setting from this high-level element.
Attributes of dc:language / Attribute von dc:language
- xml:lang (introduced with version 2.1): This is a unique identifier of language. It uses basically the language standard IETF BCP 47 (external link) which may be different to ISO 639-1 (external link) or ISO 639-2 (external link). For mapping hints see relation to other standards (external link).
The usage of xml:lang does not make any sense in the context of an language identifier.
Syntactic Constraints / Syntaktische Beschränkungen
- xml:lang: xs:language, language identification, optional
The Element FIXME may occur once.
The controlled vocabluary for the element FIXME is the same as for the xml:lang attributes: IETF BCP 47.
Best practice & Examples / Empfohlene Anwendung & Beispiele
<dc:language>de-CH</dc:language>
Notes / Anmerkungen
None.
Open issues / Offene Punkte/Pendenzen
Not yet described. / Noch nicht beschrieben.