What is XML Schema?

What is XML Schema?

XML Schema:-The aim of an XML Schema is to define the legal building blocks of an XML document, just like a DTD.XML Schema is an XML-based alternative to DTD.An XML schema describes the structure of an XML document.The XML Schema language is also referred to as XML Schema Definition (XSD).
XML Schema defines elements that can appear in a document. 
XML Schema defines attributes that can appear in a document 
XML Schema defines which elements are child elements 
XML Schema defines the order of child elements 
XML Schema defines the number of child elements 
XML Schema defines whether an element is empty or can include text 
XML Schema defines data types for elements and attributes.
XML Schema defines default and fixed values for elements and attributes 

By:kamal
Date:2015-10-10 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Links

C interview questions and answers for experienced and fresher