We are currently working on the design of a RESTful application. We have decided on XML as our basic representation. I have the following questions regarding designing/modeling the application data in XML.
- What are the approaches towards data modeling in XML? Is it a good idea to start from scratch and then evaluate the use of standard XML schemas or vice versa?
- Where can I find information on all standard XML schemas?
- Should I start thinking of namespaces from the onset or is it something I can postpone for later?
- Finally, Is it good to start from designing the XML schemas first or start with XML document and then define a schema?
Note: I have already looked at a related question at stackoverflow (What are best practices for designing XML schemas?) but that doesn't seem to address the above questions.