1. XML (eXtensible Markup Language) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. XML was designed to store and transport data.
2. An XML document has a defined structure that includes an XML declaration, document type declaration, elements, attributes, character data, comments, processing instructions, and marked sections. Elements contain the actual content of the document and can also have associated attributes.
3. For an XML document to be considered valid, it must contain a document type declaration that references a DTD (document type definition) or XML schema and the document must obey the constraints defined within that declaration. A