RS:rollingstock: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
(Deploying new templates (Vorlage:InheritIdNameConstraints))
(railML→{{rml}})
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{elementDocu|
{{ElementDocu|
elementName = rollingstock
elementName = rollingstock


|semantics =
|semantics =
The element {{RS:Tag|rollingstock}} is the start of RailML tree used for data related to rolling stock, i.e. for individual vehicles, series of vehicle, train parts and complete trains. On top there are only management information for the RailML structure itself.
The element {{RS:Tag|rollingstock}} is the start of the {{rml}} subtree used for data related to rolling stock, i.e. for individual vehicles, series of vehicle, train parts and complete trains. On top there are only management information for the {{rml}} structure itself.


{{Deu|Das Element {{RS:Tag|rollingstock}} ist der Einstiegspunkt in die Datensätze für einzelne Fahrzeuge, Fahrzeugbaureihen, Kombinationen von Fahrzeugen als Zugteile und ganzen Zügen, die in den Unterelementen abgelegt werden.}}
{{Deu|Das Element {{RS:Tag|rollingstock}} ist der Einstiegspunkt in die {{rml}}-Datensätze für einzelne Fahrzeuge, Fahrzeugbaureihen, Kombinationen von Fahrzeugen als Zugteile und ganzen Zügen, die in den Unterelementen abgelegt werden.}}


|parent = {{CO:Tag|railml}}
|parent = {{CO:Tag|railml}}
Line 20: Line 20:
}}
}}


|ownAttributes =
{{InheritVersion
* {{Attr|version}}: This is the version number of the RailML release this XML file conforms to. It is not any internal numbering from an version control system for the data version.
|version =
}}


* {{Attr|timetableRef}}: This is the reference to a timetable data set, which is identified by this 'id'.
{{InheritBase
|selfLink={{RS:Doc|rollingstock}}
|base =
|base_de =
}}


* {{Attr|infrastructureRef}}: This is the reference to an infrastructure data set, which is identified by this 'id'.
|ownAttributes =
{{InheritRef
|attributeName = timetableRef
|contextLink = {{TT:Tag|timetable}}
|notes_en = This is the reference to a timetable data set.
}}


* {{Attr|xml:base}}: This attribute is a [http://www.w3.org/TR/xmlbase/ construct] of XML Linking Language to describe links between resources. It allows the authors to explicitly specify a document's base URI for the purpose of resolving relative URIs in links to external images, applets, form-processing programs, style sheets, and so on. This provides a mechanism for providing base URI services to XLink, but as a modular specification so that other XML applications benefiting from additional control over relative URIs but not built upon XLink can also make use of it. The syntax consists of a single XML attribute named <TT>xml:base</TT>.
{{InheritRef
|attributeName = infrastructureRef
|contextLink = {{IS:Tag|infrastructure}}
|notes_en = This is the reference to an infrastructure data set.
}}


|constraints =
|constraints =
{{InheritIdNameConstraints}}
{{InheritIdNameConstraints}}


* {{Attr|version}}: Allows two part or three part version numbers, 1.0 up to 99.99, or 1.0.1 up to 99.99.99.
{{InheritVersionConstraints}}
 
* {{Attr|timetableRef}} {{RailMLType|tGenericRef}}, optional
 
* {{Attr|infrastructureRef}} {{RailMLType|tGenericRef}}, optional


|backHome = RS:elements
|backHome = RS:elements
}}
}}

Latest revision as of 11:11, 24 January 2022


rollingstock
 


Scheme description / Schemenbeschreibung

Position of rollingstock in the XML-Tree / Position von rollingstock im XML-Baum

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The element <rollingstock> is the start of the railML® subtree used for data related to rolling stock, i.e. for individual vehicles, series of vehicle, train parts and complete trains. On top there are only management information for the railML® structure itself.

Das Element <rollingstock> ist der Einstiegspunkt in die railML®-Datensätze für einzelne Fahrzeuge, Fahrzeugbaureihen, Kombinationen von Fahrzeugen als Zugteile und ganzen Zügen, die in den Unterelementen abgelegt werden.

Attributes of rollingstock / Attribute von rollingstock

  • id: XML-file-wide unique, machine-interpretable identity, required for later referencing that element internally. For a detailed explanation see Dev:identities.
    XML-Datei-weit eindeutige, maschineninterpretierbare Identität, die für die spätere interne Referenzierung dieses Elements erforderlich ist. Für eine detaillierte Erklärung siehe Dev:identities.
  • code (introduced with version 2.1): Machine-interpretable string (e.g. an abbreviation) used for identification of the object across exchange partners, usecase specific uniqueness constraints may apply. Please see our description of the differences between id, code and human-readable identifiers.
    Maschineninterpretierbare Zeichenkette (z.B. Abkürzung), die zur Identifizierung des Objekts auch bei Austauschpartnern verwendet wird, wobei spezifische Eindeutigkeitsbeschränkungen gelten können. Bitte beachten Sie unsere Erläuterung zu den Unterschieden zwischen id, code and menschenlesbaren Kennzeichnungen.
  • name: Established, human-readable short string, giving the object a name. Not intended for machine interpretation, please see our notice on human interpretable data fields.
    Etablierte, menschenlesbare kurze Zeichenkette, die das Objekt benennt. Nicht zur maschinellen Interpretation bestimmt, siehe Hinweise zu menschenlesbaren Datenfeldern.
  • description: Human-readable, more detailed description as addition to the name. It should give additional explanations or hints to the contents of this element. Not intended for machine interpretation, please see our notice on human interpretable data fields.
    Menschenlesbare, detailliertere Beschreibung als Ergänzung zu name. Sie soll zusätzliche Erläuterungen oder Hinweise auf den Inhalt dieses Elements geben. Nicht zur maschinellen Interpretation bestimmt, siehe Hinweise zu menschenlesbaren Datenfeldern.
  • xml:lang (introduced with version 2.1): This is a unique identifier of language. It uses basically the language standard IETF BCP 47 (external link) which may be different to ISO 639-1 (external link) or ISO 639-2 (external link). For mapping hints see relation to other standards (external link).
    This defines the language used for name and description. Use <additionalName> to provide a name and/or description in other languages.
  • version: This is the version number of the railML® release the current XML file conforms to. It is not any internal numbering from a version control system for the data version. Use it only, if the subschema element is outsourced, else use the 'version' attribute in the root element (<railml>)


  • infrastructureRef: This refers to the id attribute of the associated <infrastructure> element.
    This is the reference to an infrastructure data set.

Syntactic Constraints / Syntaktische Beschränkungen

  • id: xs:ID, required
    a string, starting with a letter (a..zA..Z) or an underscore (_),
    followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_)
  • code: xs:string, optional
  • name: xs:string, optional
  • description: xs:string, optional
  • xml:lang: xs:language, language identification, optional


  • version: optional, two or three part version numbers, e.g. 1.0 up to 99.99, or 1.0.1 up to 99.99.99

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.