Components in a XML document.

Q7. Broadly, what are the two components in a XML document?

Ans. Broadly, XML document contain the following two components:

  1. Prolog: Refers to an introduction to the XML document. Although it is an optional structural element,

    it is included in well-formed documents.

  2. Data instance: Refers to the part of the XML document that follows the prolog. It contains the actual data of the document.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: