rail:state

Element Information

Model

ANY element from ANY namespace OTHER than 'http://www.railml.org/schemas/2016' , rail:from{0,1} , rail:to{0,1}
Children: rail:from, rail:to

Attributes

QName Type Fixed Default Use Inheritable Annotation
disabled xs:boolean required
This attribute is 'true' if the infrastructure piece is somehow disabled.
operatingPeriodRef rail:tGenericRef optional
The temporal frame of the 'state' should be defined in the 'timetable' part of the railML file, using the 'operatingPeriod' element.
remarks rail:tElementDescription optional
This is to further explain the 'state' definition.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.railml.org/schemas/2016'

Source

<xs:element name="state" maxOccurs="unbounded" type="rail:tStateWithLength">
  <xs:annotation>
    <xs:documentation>This is to define disabled/enabled infrastructure pieces with a given time frame for a certain length.</xs:documentation>
    <xs:documentation source="http://wiki.railml.org/index.php?title=IS:state_tunnel"/>
    <xs:documentation source="http://wiki.railml.org/index.php?title=IS:state_brigde"/>
    <xs:documentation source="http://wiki.railml.org/index.php?title=IS:state_platformEdge"/>
    <xs:documentation source="http://wiki.railml.org/index.php?title=IS:state_serviceSection"/>
    <xs:documentation source="http://wiki.railml.org/index.php?title=IS:state_track"/>
  </xs:annotation>
</xs:element>

Sample