TT:trackRef: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
m (Template changed)
(Test)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{elementDocu|
{{ElementDocu|
elementName = trackRef
elementName = trackRef


|semantics =
|semantics =
The Element {{TT:Tag|trackRef}} is referencing the {{DocIS|track}} elements used by the train and described in detail in an infrastructure branch of the railml file.  
The Element {{TT:Tag|trackRef}} is referencing the {{IS:Doc|track}} elements used by the {{TT:Doc|train}} and described in detail in an {{IS:Doc|infrastructure}} branch of the {{rml}} file.  


{{deu|Das Element {{TT:Tag|trackRef}} referenziert {{DocIS|track}} Elemente die vom Zug befahren werden und in einem Infrastrukturast der railML Datei näher beschrieben sind.}}
{{Deu|Das Element {{TT:Tag|trackRef}} referenziert {{IS:Doc|track}} Elemente die vom Zug befahren werden und in einem Infrastrukturast der {{rml}}-Datei näher beschrieben sind.}}


|parent = {{TT:Doc|trackRef}}
<!-- Test -->


|childs  
|parent = {{TT:Tag|sectionTT}}, {{tag|tt|alternativeSectionTT}} {{intro|2.5}}
|childs=''None''
|minocc=0
|maxocc=∞
|ownAttributes=''None''
|inheritedAttributes =
{{InheritStrictDirection
|selfLink = {{TT:Doc|trackRef}}
|dir =
}}


|inheritedAttributes = see {{CO:Doc|tGenericRef}}
{{InheritRefAny
*{{attr|ref}}: references a {{IS:Doc|track}} in the infrastructure part.
|contextLink = {{IS:Tag|track}}
*{{attr|other:anything}}
|ref =
|ref_de =
|anyAttribute =
|anyAttribute_de =
}}


|ownAttributes
|constraints =
{{InheritDirectionConstraints}}
 
* {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory
 
|notes =  See also [[TT:howToReferenceInfrastructure | How to reference infrastructure]]


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

Latest revision as of 12:08, 8 February 2024


trackRef
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[0..∞]

Semantics / Bedeutung

The Element <trackRef> is referencing the track elements used by the train and described in detail in an infrastructure branch of the railML® file.

Das Element <trackRef> referenziert track Elemente die vom Zug befahren werden und in einem Infrastrukturast der railML®-Datei näher beschrieben sind.

Attributes of trackRef / Attribute von trackRef

  • dir: This defines the validity of trackRef along the track. Possible values are:
  • up This denotes the direction from the <trackBegin> to the <trackEnd> (increasing relative position values).
  • down This goes opposite to up (decreasing relative position values).


  • ref: This refers to the id attribute of the associated <track> 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

  • dir: xs:string, generic type for more constrained direction statements: enumeration up, down, unknown; derived from tLaxDirection; optional

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

See also How to reference infrastructure

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.