TT:trainPartSequence train: Difference between revisions
[checked revision] | [unchecked revision] |
Dirk Bräuer (talk | contribs) m (link to categoryUsage added) |
(any element added, repaired link to equipmentUsage) |
||
Line 9: | Line 9: | ||
|parent = {{TT:Tag|train}} | |parent = {{TT:Tag|train}} | ||
|childs = {{TT:Tag|trainPartRef}}, {{TT:Tag|equipmentUsage}}, {{TT:Tag|brakeUsage}} | |childs = {{TT:Tag|trainPartRef}}, {{TT:Tag|equipmentUsage|trainPartSequence}}, {{TT:Tag|brakeUsage}}, {{any}} {{intro|2.3}} | ||
|ownAttributes = | |ownAttributes = |
Revision as of 17:12, 10 February 2016
trainPartSequence
Scheme description / Schemenbeschreibung
Position of trainPartSequence in the XML-Tree / Position von trainPartSequence im XML-Baum
- Parent: <train>
- Children: <trainPartRef>, <equipmentUsage>, <brakeUsage>, <xs:any> (introduced with version 2.3)
Multiplicity / Anzahl
Semantics / Bedeutung
The element trainPartSequence groups all elements trainPart belonging to a train. The sequence herein is supposed to be used for successive parts along the train route. This is not to be mixed up with the sequence of rolling stock inside a train formation or a chronological sequence during an operating period or during a day. Therefore all referenced elements trainPart of a trainPartSequence should have the same starting point and end point. Otherwise you should define smaller (shorter) trainParts.
Das Element trainPartSequence gruppiert alle zu einem Zug gehörigen Elemente trainPart. Dabei ist die sequence im Sinne einer Abfolge der Betriebsstellen im Zuglauf zu verstehen. Dies darf nicht verwechselt werden mit der Abfolge der Zugteile innerhalb einer Zugkonfiguration und auch nicht mit der zeitlichen Abfolge von Betriebstagen innerhalb einer Verkehrsperiode. Die innerhalb einer trainPartSequence referenzierten Zuglaufteile trainPart müssen daher alle den gleichen Start- und Endpunkt aufweisen. Ansonsten müssen kleinere (kürzere) Zuglaufteile trainPart als Bausteine definiert werden.
Attributes of trainPartSequence / Attribute von trainPartSequence
- sequence: This is the sequence of successive train parts along the train route (xs:integer)
- pathStatus: This is the status of the train path. It could be used if a train is involved in a train paths allocation process. Possible values are:
- planned
- ordered
- confirmed
- detailsRefused
- cancelled
- notAvailable
- other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
- categoryRef: This refers to the id attribute of the associated <category> element.
This is the category of a train which could differ (by its meaning) from a category of a trainPart. For more information, see Train types, categories, products, and passenger usage.
- xs:anyAttribute: This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?
Syntactic Constraints / Syntaktische Beschränkungen
- sequence xs:positiveInteger, mandatory
- pathStatus optional
- categoryRef xs:IDREF, optional
Best practice & Examples / Empfohlene Anwendung & Beispiele
Train City Night Line 242:
<train id="o242" type="operational" description="Berlin - Paris" trainNumber="242"> <trainPartSequence sequence="1"> <!-- Berlin to Hannover --> <trainPartRef position="1" ref="CNL_242_1"/> <trainPartRef position="2" ref="CNL_1242_1"/> </trainPartSequence> <trainPartSequence sequence="2"> <!-- Hannover to Paris-Nord --> <trainPartRef ref="CNL_242_2"/> </trainPartSequence> </train>
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.