Home » railML newsgroups » railml.timetable » TrainpartRefs
TrainpartRefs [message #745] Fri, 02 September 2011 11:01 Go to previous message
Andreas Tanner is currently offline  Andreas Tanner
Messages: 52
Registered: March 2012
Member
Hallo RailML-group,

is the <trainPart> element intended for "multiple use"? The example file
TT_ICN.xml has

<train id="o2109" name="ICN 2109" type="operational" trainNumber="2109"
description="betrieblicher Zug 2109 mit 2 Kompositionen">
<trainPartSequence sequence="1" pathStatus="confirmed">
<trainPartRef position="1" ref="tp2109" />
<trainPartRef position="2" ref="tp2109" />

Now if this is legal, there is a problem with the rostering. A
<blockPart> can reference a <trainPart> - but which reference to it is
meant if the <trainPart> is used more than once?
What one really would need is a "<trainPartRefRef" and the
<trainPartRef> children of the <trainPartSequence> would need there own
ID...

I think that we /should/ allow for multiple use of trainparts. If you
have different views on the same train (eg, commercial and operational),
you would build those views from the same trainPart elements.

Regards
--Andreas Tanner.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Frage zu TT:category
Next Topic: deprecated attribute "trainLine" for element "trainPart"
Goto Forum:
  


Current Time: Mon Apr 29 03:50:59 CEST 2024