Wednesday 29 May 2013

What is XML Schema

Tags

What is XML Schema?

An XML Schema describes the structure of an XML instance document by defining what each element must or may contain.XML Schema is expressed in the form of a separate XML file.

  1. XML Schema provides much more control on element and attribute datatypes.
  2. Some datatypes are predefined and new ones can be created.
  • <xsd:schema  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <xsd:element  name="test">
           <xsd:complexType>


Xchema

Figure 2: XML Schema


EmoticonEmoticon