rail:train

Element Information

Model

rail:additionalName* , ANY element from ANY namespace OTHER than 'http://www.railml.org/schemas/2016' , rail:trainPartSequence+ , rail:tafTapTsiTrainID{0,1}

Attributes

QName Type Fixed Default Use Inheritable Annotation
additionalTrainNumber xs:string optional
cancellation xs:boolean optional
indicates, that this train is no longer valid and should be canceled out of a previously delivered set
code rail:tGenericName optional
for typical, specific abbreviations, used in different systems with the same understanding
description rail:tElementDescription optional
should be interpreted in its elements' context, substantiates the name
id rail:tGenericID required
XML-file-wide unique identity is required for later referencing that element
name rail:tGenericName optional
should be interpreted in its elements' context (e.g. track/name, vehicle/name)
processStatus rail:tProcessStatus optional
remarks xs:string optional
a free attribute for further descriptions
scope rail:tTrainScope optional
trainNumber xs:string optional
type rail:tTrainType required
xml:lang xs:language optional
In due course, we should install the relevant ISO 2- and 3-letter
codes as the enumerated possible values . . .
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.railml.org/schemas/2016'

Source

<xs:element name="train" type="rail:eTrain" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation source="http://wiki.railml.org/index.php?title=TT:train"/>
  </xs:annotation>
</xs:element>

Sample