1. In a DTD, what is the difference between CDATA and PCDATA?
2. <!-- is the start of...
3. in an XML document does what?
4. XML parsers check if the XML document is:
5. What are the basic constructs of an XML document?
6. In a DTD, how does one say that an attribute must exist in the XML document?
7. All attributes must be separated by:
8. At the minimum, what must an attribute for an element contain?
9. Which is the major difference between an HTML document and an XML document?
10. XML document by default preserves white-space characters in element content.
11. Which metaphor most accurately describe an element contained by another element?
12. What does the XML declaration have to consist of?
13. maxOccurs and minOccurs can be considered as:
14. Which is NOT a benefit of using XML?
15. Which is the correct syntax of the XML declaration?
16. If the validating parser outputs 'not valid' during the validating process, what does this mean?
17. What is the error that a validating XML parser outputs if the XML document does NOT adhere to the content specific specification?
18. What rules are present in XSDs but NOT in DTDs?
19. What does it mean to say that an XML document has an 'implied order'?
20. Which is not a kind of node in the XML DOM?+
21. Which statement regarding XML is incorrect?
22. Which statement is correct about XPath?
XML MCQs | Topic-wise