Hejsa.
Vi er blevet stillet en opgave i skolen hvor vi skal lave et XSD ud fra et XML.
Problemet ligger i at der er brugt namespaces og jeg ikke ved om jeg skal bruge det namespace i min XSD eller om jeg ikke skal bruge den.
XML
- <location>
- <loc:address xmlns:loc="http://ibc.dk/locationAddress">
- <loc:longtitude>9°28'19 E </loc:longtitude>
- <loc:latitude>55°29'25 N </loc:latitude>
- </loc:address>
- <physicalAddress:address xmlns:physicalAddress="http://ibc.dk/physicalAddress">
- <!-- Following address complies with OIO_Adresse -->
- <physicalAddress:streetName>Lyngvej</physicalAddress:streetName>
- <physicalAddress:streetBuildingIdentifier>32</physicalAddress:streetBuildingIdentifier>
- <physicalAddress:postCodeIdentifier>6000</physicalAddress:postCodeIdentifier>
- <physicalAddress:districtName>Kolding</physicalAddress:districtName>
- </physicalAddress:address>
- </location>