Re: [railML3] Extension methods [message #3005 is a reply to message #3003] |
Mon, 30 May 2022 19:57 |
Milan Wölke
Messages: 143 Registered: April 2007
|
Senior Member |
|
|
Hi all,
As promised I created a wiki article on how to create extensions for railML 3.2. It demonstrates how to extend existing standard railML types and also provides examples on how to use such extended railML elements by use of xsi:type. Please take a look at https://wiki3.railml.org/wiki/Dev:Using_xsi:type and let me know what you think.
Regarding the technical question of @Jörgen; As per our experience it will not do that. Of course if you want to validate the custom extensions you would need to load the xsds, but for simple reading of the standard railML content that should not be necessary.
Best regards, Milan
Milan Wölke – Timetable scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|