Example
NeTEx_01_simple_line.xml
functions/line/NeTEx_01_simple_line.xml
Element names link to their declarations.
<?xml version="1.0" encoding="UTF-8"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
<PublicationTimestamp>2010-12-17T09:30:47.0Z</PublicationTimestamp>
<ParticipantRef>SYS001</ParticipantRef>
<!--- ======WHAT WAS REQUESTED ========== -->
<PublicationRequest version="1.0">
<RequestTimestamp>2010-12-17T09:30:47.0Z</RequestTimestamp>
<ParticipantRef>SYS002</ParticipantRef>
<topics>
<NetworkFrameTopic>
<selectionValidityConditions>
<AvailabilityCondition version="any" id="acs:CAL_02">
<FromDate>2010-11-01T00:00:00Z</FromDate>
</AvailabilityCondition>
</selectionValidityConditions>
<TimetableFrameRef ref="acs:TimetableFrameTIM_23_O">REQUEST</TimetableFrameRef>
</NetworkFrameTopic>
</topics>
</PublicationRequest>
<PublicationRefreshInterval>P1M</PublicationRefreshInterval>
<Description>Example of simple timetable frame with two journeys and service calendar</Description>
<!--- =============== RESULTS =========== -->
<dataObjects>
<CompositeFrame version="1.0" id="acs:ACS@Line_24">
<!--- ======= CODESPACEs======== -->
<!--- =======FRAME DEFAULTS======== -->
<FrameDefaults>
<DefaultCodespaceRef ref="mybus"/>
</FrameDefaults>
<frames>
<ServiceFrame version="1.0" id="mybus:ACS@Line_24@Network">
<Name>Stops for Winter timetable for route 24 </Name>
<codespaces>
<Codespace id="mybus">
<Xmlns>mybus</Xmlns>
<XmlnsUrl>http://www.mybuses.eu/stuff</XmlnsUrl>
<Description>My buses</Description>
</Codespace>
</codespaces>
<prerequisites>
<ResourceFrameRef version="1.0" ref="acs:ACS@Common_Resources"/>
</prerequisites>
<!--- =========LINEs=========== -->
<lines>
<Line version="any" id="mybus:LN_24">
<Name>Line 24 Alpha to Charley</Name>
<ShortName>Line 24</ShortName>
<TransportMode>bus</TransportMode>
<PublicCode>24</PublicCode>
<OperatorRef version="1.0" ref="acs:ACS"/>
<ExternalProductCategoryRef ref="elderlyTaxi"/>
<AccessModes>foot bicycle scooter</AccessModes>
<RestrictedLine>true</RestrictedLine>
<UserTypes>child adult animal</UserTypes>
</Line>
<Line version="any" id="myski:LN_1">
<Name>Ski la Haute</Name>
<ShortName>Line 1</ShortName>
<TransportMode>cableway</TransportMode>
<TransportSubmode>
<TelecabinSubmode>dragLift</TelecabinSubmode>
</TransportSubmode>
<PublicCode>1</PublicCode>
<OperatorRef version="1.0" ref="acs:ACS"/>
<ExternalProductCategoryRef ref="ski"/>
<AccessModes>ski bicycle</AccessModes>
<RestrictedLine>true</RestrictedLine>
</Line>
</lines>
</ServiceFrame>
<ResourceFrame version="1.0" id="acs:ACS@Common_Resources">
<!--- ======= CODESPACEs======== -->
<codespaces>
<Codespace id="acs">
<Xmlns>acs</Xmlns>
<XmlnsUrl>http://autocarssuperbe.fr</XmlnsUrl>
<Description>Service data </Description>
</Codespace>
</codespaces>
<!--- =======FRAME DEFAULTS======== -->
<FrameDefaults>
<DefaultCodespaceRef ref="acs"/>
</FrameDefaults>
<organisations>
<Operator version="1.0" id="acs:ACS">
<Name>Autocars superbe</Name>
<Locale>
<DefaultLanguage>fr</DefaultLanguage>
</Locale>
<ContactDetails>
<Phone>+33-1-675-9876</Phone>
<Url>http://autocarssuperbe.fr</Url>
</ContactDetails>
</Operator>
</organisations>
</ResourceFrame>
</frames>
</CompositeFrame>
</dataObjects>
</PublicationDelivery>