rail:eTrainGroup

Complex Type Information

Model

rail:additionalName* , ANY element from ANY namespace OTHER than 'http://www.railml.org/schemas/2016' , rail:trainRef+

Attributes

QName Type Fixed Default Use Inheritable Annotation
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
trainNumber xs:string optional
type rail:tTrainGroupType optional
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'

Used By

Source

<xs:complexType name="eTrainGroup">
  <xs:complexContent>
    <xs:extension base="rail:tTrainGroup">
      <xs:sequence>
        <xs:element name="trainRef" type="rail:tElementRefInGroup" maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>reference to the trains included in a trainGroup; the group members could be ordered by a sequence attribute</xs:documentation>
            <xs:documentation source="http://wiki.railml.org/index.php?title=TT:trainRef"/>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>