[OSM-dev] XML Schema (.xsd) for OSM-Protocol 0.5 and DTD question
Stefan de Konink
skinkie at xs4all.nl
Tue Jun 24 15:28:01 BST 2008
Dominik Spies schreef:
> is there a offical XML-Schema for the OSM-Protocol V0.5?
> It's not very difficult to translate this but if somebody has done it already..
>
> Abd I have a question regarding this line in the DTD:
>
> <!ELEMENT way (tag*,nd,tag*,nd,(tag|nd)*)>
>
> why tag*,nd,tag*,nd,(tag|nd)* ?
>
> I think this means: zero to unlimited tag-elements, exaclty one
> nd-element, zero to unlimited tag-elements, exaclty one nd-element,
> zero to unlimited tag-or-nd-elements ?
>
> wouldn't be <!ELEMENT way (tag*,nd+)> enough?
Not official, but i have started an effort ;)
Stefan
More information about the dev
mailing list