APPENDIX E - XML EXAMPLE

This section of the document contains a complete example of encoding using the Discovery Metadata XML Document Type Description. The information presented here is taken from first example in Appendix A – Worked Examples and refers to OS Land-Line.

<?xml version="1.0" ?>

<!DOCTYPE NGDFDiscoveryMetadata SYSTEM "www.ngdfg.org.uk/ngdfdm.dtd">

<NGDFDiscoveryMetadata>

<title>

Land-Line

</title>

<alttitle>

Not applicable

</alttitle>

<originat>

Ordnance Survey, Great Britain

</originat>

<abstract>

Large scale digital topographic mapping for site location, planning

and land and asset management. Land-Line contains 30 feature

codes and six text categories. Standard map tile coverage 500 x 500 m

in urban areas, 1 km x 1 km in rural areas and 5km x 5km in moorland areas.

</abstract>

<capture>

<startstat ststat="notapplicable" />

<stdate>

</stdate>

<endstat edstat="ongoing" />

<enddate>

</enddate>

<frequpdt frequency="continuous" />

</capture>

<present presentation="map" />

<access accrestrict="financial" />

<usecon>

All Ordnance Survey digital map data are Crown Copyright. Full details of the conditions under which Ordnance Survey digital map data may be processed, manipulated or copied by a customer are contained in the Ordnance Survey leaflet: Copyright 3 – Digital Map Data. This is available from Copyright Licensing, Ordnance Survey, Romsey Road, Southampton So16 4GU, telephone +44 (0) 1703 792913, fax +44 (0) 1703-792435

</usecon>

<keywords>

topographic map, roads, rivers, buildings, railways, coast, urban, rural, geographic names

</keywords>

<geogext>

<coordref>

<syscoord system ="britishnationalgrid" />

<boundrec>

<westext>

0

</westext>

<eastext>

700

</eastext>

<northext>

1300

</northext>

<southext>

0

</southext>

</boundrec>

</coordref>

<geogref>

<natext natextent="england" />

<natext natextent="scotland" />

<natext natextent="wales" />

</geogref>

</geogext>

<spatrefsys>

British National Grid

</spatrefsys>

<spatdet>

Nominal Scale 1 : 1250 in urban areas, 1 : 2500 in rural areas and

1 : 10000 in moorland areas

</spatdet>

<media mediatype="magnetic" />

<media mediatype="optical" />

<dataform>

NTF v. 2.0 (BS7567)

</dataform>

<dataform>

DXF Release 12

</dataform>

<addinfo>

Ordnance Survey Customer Information Helpline : phone +44 (0) 345 33 00 11, fax +44 (0) 1703 792452, e-mail

custinfo@ordsvy.gov.uk

</addinfo>

<addinfo>

www.ordsvy.gov.uk

</addinfo>

<associat>

ADDRESS-POINT

</associat>

<associat>

OSCAR

</associat>

<supplier>

<cname>

Customer Services - Digital Helpdesk

</cname>

<postaddr>

Ordnance Survey, Romsey Road, SOUTHAMPTON, United Kingdom.

</postaddr>

<postcode>

SO16 4GU

</postcode>

<telno>

+44 (0) 1703 792773

</telno>

<faxno>

+44 (0) 1703 792324

</faxno>

<email>

custinfo@ordsvy.gov.uk

</email>

<webaddr>

www.ordsvy.gov.uk

</webaddr>

</supplier>

<update>

19971117

</update>

<sample>

</sample>

</NGDFDiscoveryMetadata>

 


Back to Contents
Appendix F - Abbreviated Field Names