Need help converting a W3C Schema

If “contact” should contain a field “contactaddress” from the namespace xmlns:mapns = “urn:3gpp:params:xml:ns:map-pidf”, you need to define this contactaddress as a global element in a new schema. This schema has to have the targetNamespace “urn:3gpp:params:xml:ns:map-pidf”. Then you need to import this schema into your original schema and use contactaddress by an element reference to mapns:contactaddress.

Reason: you cannot define elements for two namespaces in one schema.

I changed your schemas accordingly.
presence.zip (1.84 KB)