TT:announcementRef stopDescription: Difference between revisions
[checked revision] | [checked revision] |
(New element page) |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ElementDocu| | {{ElementDocu| | ||
elementName = announcementRef | elementName = announcementRef | ||
|intro=2.5 | |intro=2.5 | ||
|parent = {{TT:Tag|stopDescription}} | |parent = {{TT:Tag|stopDescription}} | ||
|childs={{TT:Tag|trigger}}, {{TT:Tag|periodic}} | |childs={{TT:Tag|trigger}}, {{TT:Tag|periodic}}, {{TT:Tag|outputLanguages}} | ||
|minocc=0 | |minocc=0 | ||
|maxocc=∞ | |maxocc=∞ | ||
|semantics = | |semantics = | ||
The element {{TT:Tag|announcementRef}} allows for referencing an {{TT:Tag|announcement}}. | The element {{TT:Tag|announcementRef|stopDescription}} allows for referencing an {{TT:Tag|announcement}}. Via the childelements {{TT:Tag|trigger}} and {{TT:Tag|periodic}} the usage of the announcement can be descibed. Its child {{TT:Tag|outputLanguages}} is used to specify which languages to output for an announcement if only a subset of the available ones is required. | ||
{{Deu|Das Element {{TT:Tag|announcementRef}} wird genutzt um ein {{TT:Tag|announcement}} zu referenzieren.}} | {{Deu|Das Element {{TT:Tag|announcementRef}} wird genutzt um ein {{TT:Tag|announcement}} zu referenzieren. Über die Kindelemente {{TT:Tag|trigger}} und {{TT:Tag|periodic}} kann die Verwendung der Ansage beschrieben werden. Das Kindelement {{TT:Tag|outputLanguages}} wird verwendet, um anzugeben, welche Sprachen für eine Ansage ausgegeben werden sollen, wenn nur eine Teilmenge der verfügbaren Sprachen benötigt wird.}} | ||
|inheritedAttributes = | |inheritedAttributes = | ||
Line 25: | Line 24: | ||
|notes_en = This {{TT:Doc|operatingPeriod}} constraints the dates the referenced {{TT:Doc|announcement}} is valid. If this is absent the referenced {{TT:Doc|announcement}} holds for the {{TT:Doc|stopDescription}} without further restrictions. | |notes_en = This {{TT:Doc|operatingPeriod}} constraints the dates the referenced {{TT:Doc|announcement}} is valid. If this is absent the referenced {{TT:Doc|announcement}} holds for the {{TT:Doc|stopDescription}} without further restrictions. | ||
}} | }} | ||
*{{attr|target}}: | *{{attr|target}}: specifies the target output of the passenger information (e.g. info for output in train or at the platform). | ||
**{{enum|station}}: indicates that passenger info is to be output via the stationary info system at the platform/station. | **{{enum|station}}: indicates that passenger info is to be output via the stationary info system at the platform/station. | ||
**{{enum|train}}: indicates that passenger info is to be output via the onboard info system in the train. | **{{enum|train}}: indicates that passenger info is to be output via the onboard info system in the train. | ||
*{{attr|priority}}: | *{{attr|priority}}: specifies the priority of the announcements. if multiple announcements apply, the order in which they are played is determined by the priority (highest priority first). | ||
|constraints = | |constraints = | ||
* {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory | * {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory |
Latest revision as of 16:35, 24 February 2022
announcementRef
|
Scheme description / Schemenbeschreibung
Position of announcementRef in the XML-Tree / Position von announcementRef im XML-Baum
- Parent: <stopDescription>
- Children: <trigger>, <periodic>, <outputLanguages>
Multiplicity / Anzahl
Semantics / Bedeutung
The element <announcementRef> allows for referencing an <announcement>. Via the childelements <trigger> and <periodic> the usage of the announcement can be descibed. Its child <outputLanguages> is used to specify which languages to output for an announcement if only a subset of the available ones is required.
Das Element <announcementRef> wird genutzt um ein <announcement> zu referenzieren. Über die Kindelemente <trigger> und <periodic> kann die Verwendung der Ansage beschrieben werden. Das Kindelement <outputLanguages> wird verwendet, um anzugeben, welche Sprachen für eine Ansage ausgegeben werden sollen, wenn nur eine Teilmenge der verfügbaren Sprachen benötigt wird.(introduced with version 2.5)
Attributes of announcementRef / Attribute von announcementRef
- ref: This refers to the id attribute of the associated announcement element.
- xs:anyAttribute: This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?
- operatingPeriodRef: This refers to the id attribute of the associated <operatingPeriod> element.
This operatingPeriod constraints the dates the referenced announcement is valid. If this is absent the referenced announcement holds for the stopDescription without further restrictions. - target: specifies the target output of the passenger information (e.g. info for output in train or at the platform).
- station: indicates that passenger info is to be output via the stationary info system at the platform/station.
- train: indicates that passenger info is to be output via the onboard info system in the train.
- priority: specifies the priority of the announcements. if multiple announcements apply, the order in which they are played is determined by the priority (highest priority first).
Syntactic Constraints / Syntaktische Beschränkungen
- ref xs:IDREF, mandatory
- operatingPeriodRef xs:IDREF, optional
- target: xs:string; either station or train
- priority: xs:integer
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.