Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Test without italic markup)
(Templates changed and test corrected)
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]]. {{#if:{{{id|}}}|<br />{{{id}}}|}}
* {{Attr|id}}: Unique identifier which is used to refer to this particular item. It has to follow the constraints of {{XsdType|ID}}. This ID is always required for the item. It is inherited as a common feature from the type [[tElementWithIDAndName]]. <br /> {{Ann | {{{id|}}} }}


* {{attr|code}} {{vers|> 2.0}}: A short string for typical, specific abbreviations, used in different systems with the same understanding. <br />{{{code|}}}
* {{Attr|code}} {{Vers|> 2.0}}: A short string for typical, specific abbreviations, used in different systems with the same understanding. <br /> {{Ann | {{{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]]. <br /> {{Ann | {{{name|}}} }}


* {{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]]. <br /> {{Ann | {{{description|}}} }}


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

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