From railML 2 Wiki
Revision as of 23:05, 25 November 2018 by RailML Coord Documentation (talk | contribs) (multiplicity)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl


Semantics / Bedeutung

The Element <trainPartRef> is used for referencing one trainPart belonging with others to the same trainPartSequence.

Das Element <trainPartRef> wird genutzt, um einen einzelnen zum Zug gehörenden trainPart (Teilzuglauf, bzw. Zugteil) zu referenzieren.

Attributes of trainPartRef / Attribute von trainPartRef

  • ref: This refers to the id attribute of the associated trainPart element.
  • xs:anyAttribute: This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?
  • position: describes the position of the train part in a train composition.

Please note that the value of position does not necessarily give the actual position in the train. There may be some train parts “missing” due to different operating days.

Syntactic Constraints / Syntaktische Beschränkungen

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

Each train names all its train parts in its element <trainPartRef> with the attributes ref and position. A train may consist of more than one train part either in one section or in subsequent sections of its route. There may be several elements <trainPartRef> with the same position if the corresponding train parts apply in different sections.

More than one train part in one section applies for instance with train coupling and sharing.
More than one train part in subsequent sections applies for instance if the operating days change at an intermediate station.

For more information, please read Train coupling and Sharing - On trains and train parts in general.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.