Home » railML newsgroups » railml.common » [railML3] Extension methods (Should we consider other ways to extend railML?)
Re: [railML3] Extension methods [message #3005 is a reply to message #3003] Mon, 30 May 2022 19:57 Go to previous message
Milan Wölke is currently offline  Milan Wölke
Messages: 139
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [railML3] Refactoring of OrganizationalUnits
Next Topic: [railML3] Binding position of Meta-Data in railML-Scheme
Goto Forum:
  


Current Time: Wed May 01 09:43:46 CEST 2024