rail:tRuleCodeElement

Complex Type Information

Model

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

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
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
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)
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
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="tRuleCodeElement">
  <xs:complexContent>
    <xs:extension base="rail:tOrientedElement">
      <xs:attribute name="ruleCode" type="rail:tElementDescription">
        <xs:annotation>
          <xs:documentation>Code for this element in the rule book, combination of letters and numbers and space allowed, e.g. Ne5, GA, SFRS/E</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>