TT:operatingPeriodRef trainPart: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
(link to Midnight_overrun added)
m (RailML > railML; Filesize of example PDF corrected)
Line 42: Line 42:


see also  
see also  
* [[TT:Midnight_overrun | How to indicate midnight overruns in RailML]]
* [[TT:Midnight_overrun | How to indicate midnight overruns in railML]]
* [http://www.irfp.de/download/railml_beispiel_verkehrstage.pdf Weitere Informationen und RailML-Beispiel zu Verkehrstagen, PDF, 185 kByte]
* {{Deu|[http://www.irfp.de/download/railml_beispiel_verkehrstage.pdf iRFP-Informationen und -Beispiel zu Verkehrstagen in railML]}}  ([http://www.railml.org//index.php/entwickler.html?show=23 Author: Dirk Bräuer, iRFP Dresden] 74 kByte, as of: May 2012)
* [http://www.irfp.de/download/railml_beispiel_mueg.pdf RailML-Beispiel zu Mitternachtsübergängen, PDF, 269 kByte]
* {{Deu|[http://www.irfp.de/download/railml_beispiel_mueg.pdf iRFP-Beispiel zur Abbildung von Mitternachtsübergängen in railML]}} ([http://www.railml.org//index.php/entwickler.html?show=23 Author: Dirk Bräuer, iRFP Dresden] 165 kByte, as of: May 2012)
 


|backHome = TT:elements
|backHome = TT:elements
}}
}}

Revision as of 19:01, 16 February 2015


operatingPeriodRef
 


Scheme description / Schemenbeschreibung

Position of operatingPeriodRef in the XML-Tree / Position von operatingPeriodRef im XML-Baum

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The Element <operatingPeriodRef> is used for referencing the operatingPeriod for the trainPart.

Das Element <operatingPeriodRef> referenziert die zum trainPart gehörige Verkehrsperiode.

Attributes of operatingPeriodRef / Attribute von operatingPeriodRef

  • ref: This refers to the id attribute of the associated <operatingPeriod> element.
  • xs:anyAttribute: This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?
  • startDate: This describes optional further restrictions of the operating period.
  • endDate: This describes optional further restrictions of the operating period.

Syntactic Constraints / Syntaktische Beschränkungen

  • startDate xs:date, optional
    If not empty it has to be equal or later than the startDate of the referenced timetablePeriod.
  • endDate xs:date, optional
    If not empty it has to be equal or earlier than the endDate of the referenced timetablePeriod.

Best practice & Examples / Empfohlene Anwendung & Beispiele

Normal reference to the operatingPeriod for 'daily':

<rail:operatingPeriodRef ref="TGL"/>

Same reference but restricted to certain period:

<rail:operatingPeriodRef ref="TGL" startDate="2009-10-05" endDate="2009-10-16"/>

see also

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.