Explain the benifits of using XSD?

Shahid Ahmed
Shahid Ahmed

Posted On: Feb 22, 2018

 

The advantages of using XSD over other schema languages are,

  • XSD is extensible. That is, You can use XSD to derive new elements from the existing elements.
  • XSD doesn’t require intermediate processing by the parser as it is not defined in XML.
  • XSD supports default values, and you can specify the default values of the elements using XSD.
  • With XSD, you can import more than one XML schema on another XML schema. It supports reference to external XML schemas.
  • XSD supports data types, and you can restrict the content of the element using the data types.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    XSD Interview Questions

    What is XSD?

    XSD (XML Schema Definition) is a language definition that defines how to describe the elements in the Extensible Markup Language (XML). This definition is a recommendation of the World Wide Web Consor...

    XSD Interview Questions

    How attribute is different from a element in XSD?

    Element in XSD is nothing but an XML element such as opening tag, content, closing tag, etc. XSD Elements are the building blocks of your XML document. Elements are defined by their occurrence. An ele...

    XSD Interview Questions

    Enlist different data types avaialable in XSD?

    There are two data types available in XSD. They are simpleType and complexType.simpleType - These are the built-in datatype present in XSD. There are many types available in ti. They are xsd:inte...