Q7. Broadly, what are the two components in a XML document?
Ans. Broadly, XML document contain the following two components:
- Prolog: Refers to an introduction to the XML document. Although it is an optional structural element,
it is included in well-formed documents.
- Data instance: Refers to the part of the XML document that follows the prolog. It contains the actual data of the document.