Home » railML newsgroups » railML.infrastructure » request for an attribute for the Infrastructure Manager of a line
Re: request for an attribute for the Infrastructure Manager of a line [message #481 is a reply to message #474] Mon, 03 December 2012 11:45 Go to previous messageGo to previous message
Susanne Wunsch railML is currently offline  Susanne Wunsch railML
Messages: 0
Registered: January 2020
Hi Christian, Dirk and others,

>> as discussed at the railML-conference in Zurich and already noticed by
>> Dirk in another thread, we agreed on having a free string field for the
>> 'infrastructureManager' with an additional XML-file providing a
>> pre-defined list of possible values.
>> [1] https://trac.assembla.com/railML/ticket/152

I would propose the following structure for the XML file:

<infrastructureManagerCodes xmlns="http://www.railml.org/lists">
<infrastructureManagerCode id="d1e3">
<version>
<code>ThE</code>
<name>Thüringer Eisenbahn GmbH</name>
<validity begin="2001-08-01"/>
<remarks/>
</version>
</infrastructureManagerCode>
<infrastructureManagerCode id="d1e84">
<version>
<code>EIB</code>
<name>Erfurter Industriebahn GmbH</name>
<validity begin="1990-05-01" end="2007-03-02"/>
<remarks/>
</version>
<version>
<code>EB</code>
<name>Erfurter Bahn GmbH</name>
<validity begin="2007-03-03"/>
<remarks/>
</version>
</infrastructureManagerCode>
</infrastructureManagerCodes>

The code itself is referred inside the 'line' element:

<rail:trackGroups>
<rail:line id="l1" infrastructureManagerCode="EIB">
<rail:trackRef ref="t1"/>
</rail:line>
</rail:trackGroups>

Kind regards...
Susanne

--
Susanne Wunsch
Schema Coordinator: railML.common
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: small issues on "register" and "tLineInfrastructureManagerCode"
Next Topic: speed profiles and braking percentages
Goto Forum:
  


Current Time: Fri May 17 07:19:42 CEST 2024