TT:trainRef: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
m (Category "ElementTemplate" removed)
(Einige ''None'')
Line 3: Line 3:


|parent = {{TT:Tag|trainGroup}}
|parent = {{TT:Tag|trainGroup}}
 
|childs=''None''
|ownAttributes=''None''
|semantics =  
|semantics =  
The element {{TT:Tag|trainGroup}} allows for grouping of {{TT:Doc|train}}s which are referenced using {{TT:Tag|trainRef}}.
The element {{TT:Tag|trainGroup}} allows for grouping of {{TT:Doc|train}}s which are referenced using {{TT:Tag|trainRef}}.

Revision as of 20:33, 1 March 2017


trainRef
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The element <trainGroup> allows for grouping of trains which are referenced using <trainRef>.

Das Element <trainRef> wird genutzt um einen einzelnen zum Taktgefüge gehörenden train zu referenzieren.

Attributes of trainRef / Attribute von trainRef

  • sequence: This allows for sorting the referenced trains. This "counter" defines the chronological order during a day.


  • ref: This refers to the id attribute of the associated train element.
  • xs:anyAttribute: This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?

Syntactic Constraints / Syntaktische Beschränkungen

  • sequence xs:positiveInteger, mandatory
    The referenced train with the lowest sequence value is interpreted as the first element of the current <trainGroup>.
    Each sequence value shall only be used once within the current <trainGroup>.

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.