Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
mNo edit summary
(Test for conditional attribute-specific remarks)
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]]. {{#if:{{{id|}}}|<br />''{{{id}}}''|}}


* {{attr|code}} {{vers|> 2.0}}: 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. <br />''{{{code|}}}''


* {{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]].

Revision as of 22:23, 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.