Example
Netex_VersioningExample_Step_01.xml
functions/versioning/Netex_VersioningExample_Step_01.xml
Element names link to their declarations.
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple Network Version Example ======
This is part 1 of a multistep example on versioning
Step 1: Create a single scheduled Stop Poin A v001
- Create version 001 of a ServiceFrame ntwkf001 v001 that holds Stop A v001
(C) 2010 Crown Copyright CEN
-->
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
<!--- ======WHAT WAS REQUESTED ========== -->
<PublicationTimestamp>2010-05-17T09:30:47.0Z</PublicationTimestamp>
<ParticipantRef>SYS001</ParticipantRef>
<PublicationRequest version="1.0">
<RequestTimestamp>2001-12-17T09:30:47.0Z</RequestTimestamp>
<ParticipantRef>SYS002</ParticipantRef>
<topics>
<NetworkFrameTopic>
<Current/>
<ServiceFrameRef ref="mybus:ntwkf001">REQUEST</ServiceFrameRef>
</NetworkFrameTopic>
</topics>
</PublicationRequest>
<PublicationRefreshInterval>P7D</PublicationRefreshInterval>
<Description>Netex basic Versioning Example Step 01</Description>
<!--- =============== RESULTS =========== -->
<dataObjects>
<!--- =====Data owners ========= -->
<CompositeFrame version="001" id="mybus:ntwkf001">
<!--- ======= CODESPACEs======== -->
<codespaces>
<Codespace id="mybus">
<Xmlns>mybus</Xmlns>
<XmlnsUrl>http://www.mybuses.eu/stuff</XmlnsUrl>
<Description>My buses</Description>
</Codespace>
</codespaces>
<!--- =======FRAME DEFAULTS======== -->
<FrameDefaults>
<DefaultCodespaceRef ref="mybus"/>
<DefaultResponsibilitySetRef ref="mybus:RS_10">EXTERNAL</DefaultResponsibilitySetRef>
</FrameDefaults>
<frames>
<ServiceFrame version="001" created="2010-05-17T09:30:47.0Z" responsibilitySetRef="mybus:RS_10" id="mybus:ntwkf001@service">
<Name>My Network (V1) </Name>
<!--- =====Frame contents ========= -->
<scheduledStopPoints>
<ScheduledStopPoint version="001" created="2010-05-17T09:30:47.0Z" responsibilitySetRef="mybus:RS_10" id="mybus:SSP0001A">
<Name>Haltstelle A</Name>
<Description>Version one of stop A</Description>
</ScheduledStopPoint>
</scheduledStopPoints>
</ServiceFrame>
</frames>
</CompositeFrame>
</dataObjects>
</PublicationDelivery>