Home » railML newsgroups » railml.timetable » Example of CData Element in Metadata
Example of CData Element in Metadata [message #1297] Thu, 17 September 2015 20:32
Leopold Kühschelm is currently offline  Leopold Kühschelm
Messages: 8
Registered: September 2015
Junior Member

In the last timetable meeting the question came up how to save
structured information in the metadata. In the IVU we save
exportsettings in /railml/metadata/description with the help of a CDATA
element. Here is an example:
<description><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<exportSettingRunSchedule operationAbbreviation="Rail2Go"
divisionAbbreviation="BAHN" runScheduleAbbreviation="railML">
<calendarDays startDate="2015-10-15" endDate="2015-10-17"/>
<timetableVersion abbreviation="2015"/>
<vehicleWorkingVersion abbreviation="2015"/>

For the embedded xml we have a separate xsd for validation and parsing.

Best regards,
Leopold Kühschelm
Leopold Kühschelm
System Ingenieur
IVU Traffic Technologies AG
Bundesallee 88, D-12161 Berlin
mailto:LeopoldKuehschelm(at)ivude, http://www.ivu.de

Executive Board: Martin Müller-Elschner (CEO), Dr. Helmut Bergstein
Supervisory Board: Prof. Dr. Herbert Sonntag (Chairman)
Company Seat: Berlin
Registration Court: Amtsgericht Berlin, HRB 69310
Previous Topic: "any-attribute" (foreign namespace) in circulation element
Next Topic: Missing 'any' attributes/elements
Goto Forum:

Current Time: Thu Jan 18 20:37:52 CET 2018