TT:operatingPeriodRef trainPart: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
m (removed examples with deprecated attributes, removed reference to iRFP document about midnight overruns because it's redundant to the wiki article)
Line 36: Line 36:


  <rail:operatingPeriodRef ref="TGL"/>
  <rail:operatingPeriodRef ref="TGL"/>
Same reference but restricted to certain period {{depr|2.2}}:
<rail:operatingPeriodRef ref="TGL" startDate="2009-10-05" endDate="2009-10-16"/>


* See also  
* See also  
:# [[TT:Midnight_overrun | How to indicate midnight overruns in railML]]
:# [[TT:Midnight_overrun | How to indicate midnight overruns in railML]]


* '''iRFP Dresden''': selection of examples for operationg periods and midnight overruns in German
* '''iRFP Dresden''': selection of examples for operationg periods in German
:# [http://www.irfp.de/download/railml_beispiel_verkehrstage.pdf iRFP-Informationen und -Beispiel zu Verkehrstagen in railML] (DE, Dirk Bräuer, iRFP Dresden, 74 kByte, May 2012)
:# [http://www.irfp.de/download/railml_beispiel_verkehrstage.pdf iRFP-Informationen und -Beispiel zu Verkehrstagen in railML] (DE, Dirk Bräuer, iRFP Dresden, 74 kByte, May 2012)
:# [http://www.irfp.de/download/railml_beispiel_mueg.pdf iRFP-Beispiel zur Abbildung von Mitternachtsübergängen in railML] (DE, Dirk Bräuer, iRFP Dresden, 165 kByte, May 2012)


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

Revision as of 15:32, 23 October 2017


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 (deprecated with version 2.2): This describes optional further restrictions of the operating period.
  • endDate (deprecated with version 2.2): This describes optional further restrictions of the operating period.

Syntactic Constraints / Syntaktische Beschränkungen

  • ref xs:IDREF, mandatory
  • startDate xs:date, optional (deprecated with version 2.2)
  • endDate xs:date, optional (deprecated with version 2.2)

Best practice & Examples / Empfohlene Anwendung & Beispiele

Normal reference to the operatingPeriod for 'daily':

<rail:operatingPeriodRef ref="TGL"/>
  • See also
  1. How to indicate midnight overruns in railML
  • iRFP Dresden: selection of examples for operationg periods in German
  1. iRFP-Informationen und -Beispiel zu Verkehrstagen in railML (DE, Dirk Bräuer, iRFP Dresden, 74 kByte, May 2012)

Notes / Anmerkungen

Child element specialService is deprecated from railML 2.2 on. An individual operatingPeriod for each trainPart should be referenced instead. See TRAC ticket #158.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.