How do I use TransXChange efficiently to reduce the document size?
The TransXChange schema includes a number of mechanisms to reduce the size of instance documents. These are described in detail in the TransXChange Schema Guide. In particular: • Many elements may be reused in many different timetables, in particular stops, journey patterns and vehicle journeys and it is important to encode schedules to reference shared definitions, rather than to repeat identical information. • Inheritance semantics are used in a number of places to reduce the amount of information that needs to be exchanged. For example within a vehicle journey, only those vehicle timing links that are different from the underlying journey pattern need be specified. Operational dates and periods may also be specified by difference. Applications that export TransXChange documents should be aware of these mechanisms and in particular (i) encode schedules so as to reference common definitions wherever possible, and (ii) encode schedules by difference wherever appropriate using the the i