Question:
(a) Explain the concept of "mixed content" in an XML document. What restrictions are placed on the definition of elements with mixed content by Document Type Definitions?
(b) (i) Distinguish between Complex Type and Simple Type elements.
(ii) List three benefits while using XSDs in XML data modeling.
(c) Consider the subsequent fragment of an XML document:
< person>
< first_name>Cliff< /first_name>
< last_name>Samuel< /last_name>
< /person>
Assuming that a document object has been instantiated as a DOM document, explain how the methods of the Node and Document objects allows you to create the above XML document fragment.