Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
m (additional attribute)
mNo edit summary
Line 1: Line 1:
* {{attr|id}}: Unique identifier which is used to refer to this particular item. It has to follow the constraints of [http://www.w3.org/TR/xmlschema-2/#ID xs:ID]. This ID is always required for the item. It is inherited as a common feature from the type [[tElementWithIDAndName]].
* {{attr|id}}: Unique identifier which is used to refer to this particular item. It has to follow the constraints of [http://www.w3.org/TR/xmlschema-2/#ID xs:ID]. This ID is always required for the item. It is inherited as a common feature from the type [[tElementWithIDAndName]].


* {{attr|code}}: A short string for typical, specific abbreviations, used in different systems with the same understanding.
* {{attr|code}} {{vers|> 2.0}}: A short string for typical, specific abbreviations, used in different systems with the same understanding.


* {{attr|name}}: A short name for the item can be given here, if wanted. It is inherited as a common feature from the type [[tElementWithIDAndName]].
* {{attr|name}}: A short name for the item can be given here, if wanted. It is inherited as a common feature from the type [[tElementWithIDAndName]].
Line 7: Line 7:
* {{attr|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]].
* {{attr|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]].


* {{attr|xml:lang}}: 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 [http://www.w3.org/TR/xmlschema-2/#language xs:language].
* {{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 [http://www.w3.org/TR/xmlschema-2/#language 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 [http://en.wikipedia.org/wiki/IETF_language_tag relation] to other standards.

Revision as of 06:41, 14 May 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.