<?xml version="1.0" encoding="UTF-8"?><!-- (c) Crown Copyright 2007-2008   --><xsd:schema xmlns:cnm="http://www.cyclenet.org.uk/cnm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:osgb="http://www.ordnancesurvey.co.uk/xml/namespaces/osgb" xmlns:gml="http://www.opengis.net/gml" xmlns:dnf="http://www.dnf.org/schema/dataexchange/1" xmlns:xlink="http://www.w3.org/1999/xlink" targetNamespace="http://www.cyclenet.org.uk/cnm" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1" id="cnm">	<xsd:annotation>		<xsd:appinfo>			<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">				<Aggregation>main schema</Aggregation>				<Audience>e-service developers</Audience>				<Contributor>Vesrion  Kizoom Limited, by  Nicholas Knowles.</Contributor>				<Contributor>Kevin Bossley, whereoneearth  </Contributor>				<Contributor>Peter Miller, ITO</Contributor>				<Contributor>Colin Henderson, OS</Contributor>				<Contributor>Jonathan Shewell Cooper, AOS</Contributor>				<Contributor>Shane Snow, DfT</Contributor>				<Contributor>Simon Nuttal, </Contributor>				<Contributor>David Kirton, Camden</Contributor>				<Coverage>United Kingdom</Coverage>				<Creator>Created as W3C .xsd schema by Kizoom  as 1.0 XML schema, RNicholas Knowles.  mailto:schemer@kizoom.com </Creator>				<Date>					<Created>2008-03-14</Created>				</Date>				<Date>					<Modified>2008-03-15</Modified>				</Date>				<Description>					<p>CNM  is a UK format for exchangign cycle path network data  .</p>					<p>CNM makes use of the DNF , OS ITN  data models..</p>				</Description>				<Format>					<MediaType>text/xml</MediaType>					<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>					<Description>XML schema, W3C Recommendation 2001</Description>				</Format>				<Identifier>{http://www.cyclenet.org.uk/schemas/2.2}cnmxml.xsd</Identifier>				<Language>[ISO 639-2/B] ENG</Language>				<Publisher>Department for Transport, Transport Direct, Ashdown House. 123 Victoria Street London SW1E 6DE</Publisher>				<Relation>					<Requires>http://www.naptan.org.uk/schemas/2.2/napt/XXX_stop-v2-2.xsd</Requires>				</Relation>				<Rights>Unclassified                            <Copyright>Crown Copyright 2007-2008</Copyright>				</Rights>				<Source>					<ul>						<li>Data elemenst drawn from Cycle organisa</li>						<li>Developed as XML  in 2008 By Nick Knowles, Kizoom.</li>					</ul>				</Source>				<Status>Version 0.1a draft  </Status>				<Subject>					<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport, Air transport, Airports, Ports and maritime transport, Ferries (marine), Public transport, Bus services, Coach services, Bus stops and stations, Rail transport, Railway stations and track, Train services, Underground trains, Business and industry, Transport, Air transport , Ports and maritime transport, Public transport, Rail transport, Roads and road transport </Category>					<Project>Transport Direct</Project>				</Subject>				<Title>CNM XML schema for exchanging  Cycle and footopth data. </Title>				<Type>Standard</Type>			</Metadata>		</xsd:appinfo>	</xsd:annotation>	<!-- ======================================================================= -->	<!-- include constructs from other CNM schemas -->	<xsd:include schemaLocation="cnm/cnmFeatures-ITNPN-v0.1.xsd"/>	<!--import OGC constructs and namespaces -->	<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>	<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="base/feature.xsd"/>	<xsd:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink/xlinks.xsd"/>	<xsd:element name="CnmXml">		<xsd:annotation>			<xsd:documentation>Schema for exchanging National Public Transport Access Node data.</xsd:documentation>		</xsd:annotation>		<xsd:complexType>			<xsd:sequence>				<xsd:choice>					<xsd:element name="featureCollection" type="cnm:FeatureCollectionStructure" minOccurs="0"/>					<xsd:element name="networkMembers">						<xsd:complexType>							<xsd:sequence>								<xsd:group ref="cnm:RoadNetworkGroup"/>								<xsd:group ref="cnm:RoadNetworkInformationGroup"/>								<xsd:group ref="cnm:PathNetworkGroup"/>								<xsd:group ref="cnm:PathNetworkInformationGroup"/>								<xsd:group ref="cnm:JointNetworkGroup"/>							</xsd:sequence>						</xsd:complexType>					</xsd:element>				</xsd:choice>				<xsd:element name="contributorOrganisations" minOccurs="0">					<xsd:complexType>						<xsd:sequence>							<xsd:element ref="cnm:ContributorOrganisation" maxOccurs="unbounded"/>						</xsd:sequence>					</xsd:complexType>				</xsd:element>				<xsd:element name="Contributors" minOccurs="0">					<xsd:complexType>						<xsd:sequence>							<xsd:element ref="cnm:Contributor" maxOccurs="unbounded"/>						</xsd:sequence>					</xsd:complexType>				</xsd:element>			</xsd:sequence>			<xsd:attribute name="creationDateTime" type="xsd:dateTime" use="required">				<xsd:annotation>					<xsd:documentation>Record of the date and time of creation of the NaPTAN file.</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute name="fileName" type="xsd:string">				<xsd:annotation>					<xsd:documentation>The name of the TransXChange file.</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute ref="xml:lang"/>			<xsd:attribute name="schemaVersion" type="xsd:NMTOKEN" use="required" fixed="0.1a">				<xsd:annotation>					<xsd:documentation>The version of the schema that the NaPTAN instance document was written against. This attribute conforms with e-GIF guidance.</xsd:documentation>				</xsd:annotation>			</xsd:attribute>		</xsd:complexType>	</xsd:element>	<xsd:group name="RoadNetworkGroup">		<xsd:annotation>			<xsd:documentation>Road network elements</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="roads" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Roads in Network.</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:Road" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="roadNodes" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Nodes in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:choice maxOccurs="unbounded">						<xsd:element ref="cnm:RoadNode"/>						<xsd:element ref="cnm:EnclosedTrafficArea"/>					</xsd:choice>				</xsd:complexType>			</xsd:element>			<xsd:element name="roadLinks" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Links in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:RoadLink" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>		</xsd:sequence>	</xsd:group>	<xsd:group name="RoadNetworkInformationGroup">		<xsd:annotation>			<xsd:documentation>Road network Information elements</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="roadNodeInformations" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Nodes in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:RoadNodeInformation" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="roadLinkInformations" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Link infromation in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:choice maxOccurs="unbounded">						<xsd:element ref="cnm:RoadLinkInformation"/>						<xsd:element ref="cnm:RoadPartialLinkInformation"/>					</xsd:choice>				</xsd:complexType>			</xsd:element>			<xsd:element name="roadRouteInformations" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Rout Information in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:choice maxOccurs="unbounded">						<xsd:element ref="cnm:RoadRouteInformation"/>						<xsd:element ref="cnm:RoadPartialRouteInformation"/>					</xsd:choice>				</xsd:complexType>			</xsd:element>		</xsd:sequence>	</xsd:group>	<xsd:group name="PathNetworkGroup">		<xsd:annotation>			<xsd:documentation>Path network elements</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="pathNodes " minOccurs="0">				<xsd:complexType>					<xsd:choice maxOccurs="unbounded">						<xsd:element ref="cnm:PathNode"/>						<xsd:element ref="cnm:OffsetPathNode"/>					</xsd:choice>				</xsd:complexType>			</xsd:element>			<xsd:element name="pathLinks" minOccurs="0">				<xsd:complexType>					<xsd:choice maxOccurs="unbounded">						<xsd:element ref="cnm:PathLink"/>						<xsd:element ref="cnm:OffsetPathLink"/>					</xsd:choice>				</xsd:complexType>			</xsd:element>		</xsd:sequence>	</xsd:group>	<xsd:group name="PathNetworkInformationGroup">		<xsd:annotation>			<xsd:documentation>Path network information elements</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="pathNodeInformatios" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Nodes in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:PathNodeInformation" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="pathLinkInformations" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Link infromation in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:choice maxOccurs="unbounded">						<xsd:element ref="cnm:PathLinkInformation"/>						<xsd:element ref="cnm:PathPartialLinkInformation"/>					</xsd:choice>				</xsd:complexType>			</xsd:element>			<xsd:element name="pathRouteInformations" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Road Rout Information in Network</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:choice maxOccurs="unbounded">						<xsd:element ref="cnm:PathRouteInformation"/>						<xsd:element ref="cnm:PathPartialRouteInformation"/>					</xsd:choice>				</xsd:complexType>			</xsd:element>		</xsd:sequence>	</xsd:group>	<xsd:group name="JointNetworkGroup">		<xsd:annotation>			<xsd:documentation>Other Path  network elements</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="aggregatedWays " minOccurs="0">				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:AggregatedWay" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="connectingNodes" minOccurs="0">				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:ConnectingNode" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="connectingLinks" minOccurs="0">				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:ConnectingLink" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="functionalSites" minOccurs="0">				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:FunctionalSite" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="accessNodes" minOccurs="0">				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:AccessNode" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="accessLinks" minOccurs="0">				<xsd:complexType>					<xsd:sequence>						<xsd:element ref="cnm:AccessLink" maxOccurs="unbounded"/>					</xsd:sequence>				</xsd:complexType>			</xsd:element>		</xsd:sequence>	</xsd:group>	<!-- ======================================================================= -->	<!-- Abstract features -->	<!-- ======================================================================= -->	<!-- ======================================================================= --></xsd:schema>