Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
m (Category deployed)
(Moved type constraints to Vorlage:InheritIdNameConstraints, removed type links)
Line 1: Line 1:
* {{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|id}}: This is the unique identifier which is used to refer to the current element. It is used for XML file internal unambiguous references. <br /> {{Ann | {{{id|}}} }}


* {{Attr|code}} {{Vers|> 2.0}}: A short string for typical, specific abbreviations, used in different systems with the same understanding. <br /> {{Ann | {{{code|}}} }}
* {{Attr|code}} {{Vers|> 2.0}}: This is 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]]. <br /> {{Ann | {{{name|}}} }}
* {{Attr|name}}: This is a short name for the current item. <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]]. <br /> {{Ann | {{{description|}}} }}
* {{Attr|description}}: This is a more detailed description as addition to the short {{Attr|name}}. It shall allow a short overview or hints to the contents of this data set. <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 {{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}}: This is a unique identifier of language used for defining {{Attr|name}} and {{Attr|description}}. It uses basically the language standard [http://tools.ietf.org/html/bcp47 IETF BCP 47] which may be different to [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1] or [http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes ISO 639-2]. For mapping hints see [http://en.wikipedia.org/wiki/IETF_language_tag relation to other standards].


<noinclude>[[Category:ContentTemplate]]</noinclude>
<noinclude>[[Category:AttributeTemplate]]</noinclude>

Revision as of 10:23, 1 December 2011

  • id: This is the unique identifier which is used to refer to the current element. It is used for XML file internal unambiguous references.
  • code (> 2.0): This is a short string for typical, specific abbreviations, used in different systems with the same understanding.
  • name: This is a short name for the current item.
  • description: This is a more detailed description as addition to the short name. It shall allow a short overview or hints to the contents of this data set.