rail:signal

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
absPos rail:tLengthM optional
absPosOffset rail:tLengthM optional
DEPRECATED, not needed, not used
code rail:tGenericName optional
for typical, specific abbreviations, used in different systems with the same understanding
controllerRef rail:tGenericRef optional
reference on controller element, e.g. interlocking
description rail:tElementDescription optional
should be interpreted in its elements' context, substantiates the name
dir rail:tLaxDirection optional
a direction, which allows for all direction attributes
distNearestDangerPoint rail:tLengthM optional
function rail:tSignalFunction optional
height rail:tLengthM optional
id rail:tGenericID required
XML-file-wide unique identity is required for later referencing that element
maskableATC xs:boolean optional
maskableRoute xs:boolean optional
name rail:tGenericName optional
should be interpreted in its elements' context (e.g. track/name, vehicle/name)
ocpStationRef rail:tGenericRef optional
reference on ocp element, e.g. station
pos rail:tLengthM required
ruleCode rail:tElementDescription optional
Code for this element in the rule book, combination of letters and numbers and space allowed, e.g. Ne5, GA, SFRS/E
sigSystem xs:string optional
sight rail:tLengthM optional
signalBoxOcpRef rail:tGenericRef optional
DEPRECATED: use attribute 'controllerRef' instead
stationOcpRef rail:tGenericRef optional
DEPRECATED: use attribute 'ocpStationRef' instead
switchable xs:boolean optional
DEPRECATED: use attribute 'switchable' in sub-elements instead
trackDist rail:tLengthM optional
type rail:tSignalType optional
virtual xs:boolean false 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'

Source

<xs:element name="signal" type="rail:tSignal">
  <xs:annotation>
    <xs:documentation source="http://wiki.railml.org/index.php?title=IS:signal"/>
  </xs:annotation>
</xs:element>

Sample