Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Templates changed and test corrected)
m (Category deployed)
Line 8: Line 8:


* {{Attr|xml:lang}} {{Vers|> 2.0}}: Unique identifier of language used for defining {{Attr|name}} and {{Attr|description}}. It has to follow the constraints of [http://www.w3.org/TR/xml/#sec-lang-tag language identification] and of {{XsdType|language}}. It uses basically the language standard IETF BCP 47 which may be different to ISO 639-1 or ISO 639-2. For mapping hints see [http://en.wikipedia.org/wiki/IETF_language_tag relation] to other standards.
* {{Attr|xml:lang}} {{Vers|> 2.0}}: Unique identifier of language used for defining {{Attr|name}} and {{Attr|description}}. It has to follow the constraints of [http://www.w3.org/TR/xml/#sec-lang-tag language identification] and of {{XsdType|language}}. It uses basically the language standard IETF BCP 47 which may be different to ISO 639-1 or ISO 639-2. For mapping hints see [http://en.wikipedia.org/wiki/IETF_language_tag relation] to other standards.
<noinclude>[[Category:ContentTemplate]]</noinclude>

Revision as of 23:05, 23 November 2011

  • id: Unique identifier which is used to refer to this particular item. It has to follow the constraints of xs:ID. This ID is always required for the item. It is inherited as a common feature from the type tElementWithIDAndName.
  • code (> 2.0): A short string for typical, specific abbreviations, used in different systems with the same understanding.
  • name: A short name for the item can be given here, if wanted. It is inherited as a common feature from the type tElementWithIDAndName.
  • description: In addition to a short name a more detailed description can be given here. This shall allow a short overview or hints to the contents of this dat set. It is inherited as a common feature from the type tElementWithIDAndName.
  • xml:lang (> 2.0): Unique identifier of language used for defining name and description. It has to follow the constraints of language identification and of xs:language. It uses basically the language standard IETF BCP 47 which may be different to ISO 639-1 or ISO 639-2. For mapping hints see relation to other standards.