[OSM-dev] Some DTDs for common file formats

Martijn van Oosterhout kleptog at gmail.com
Sun Sep 9 21:58:16 BST 2007


I was working on verifying some output from scripts and decided to
write up some DTDs to make it easier. I've put them up on dev:

http://dev.openstreetmap.org/~kleptog/osm-0.3.dtd  (normal OSM from API)
http://dev.openstreetmap.org/~kleptog/josm-0.3.dtd  (JOSM extensions)
http://dev.openstreetmap.org/~kleptog/osmChange-0.3.dtd (osmChange fileformat)
http://dev.openstreetmap.org/~kleptog/planetdiff-0.3.dtd (planetdiff fileformat)
http://dev.openstreetmap.org/~kleptog/osm-0.5.dtd  (proposed 0.5 API format)

You can use them like:
<!DOCTYPE osm SYSTEM "http://dev.openstreetmap.org/~kleptog/josm-0.3.dtd">
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/

More information about the dev mailing list