Q1. Define XML and list the main benefits of XML?

Q2. Differentiate between XML and HTML.

Q3. What are the benefits of XML over EDI?

Q4. Define the grammar rules for an XML document.

Q5. What rules do you need to keep in mind while defining XML elements?

 Q6. Describe the empty tag in XML.

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

Q8. Define markup language.

Q9. What is the XML document system?

Q10. Identify the errors in the following code:

<?XML version=”1.0”>

<Message date=”8/6/2011”>






<BODY> Welcome to Kogent Pvt.Ltd </Body>


Q11. Create an XML document to represent a message sent on August 6, 2011 to Raju and Reena by Harmeet. The message is Welcome to Kogent PV.LTD>

Q12. Create an XML document containing the information shown in the following table:

Book_Name Author Price
.NET Vikash Rs 500/-
Core JAVA Martin Rs 750/-
Basic Grammer Saroj Rs 250/-


Q13. Consider the table shown in Question 12 and create a style-sheet for it, prescribing the color for Book_Name, Author and Price as red, green, and blue respectively. In addition, the font attribute is in bold style.

Q14. Write the procedure to link a style-sheet with an XML document.

Q15. What is CSS?

Q16. What are the advantages of XML?

Q17. Compare XML with HTML with respect to the following two points:

  1. Document structure
  2. Tags

Q18. What does it mean when we say that XML tags are case-sensitive?

Q19. Explain the utility of comments in XML.

%d bloggers like this: