XML Schema Demistyfied
DTD's have limited namespace support so they are not used for webservice schema. Xml Schema is used to implement webservices. The Elements of XML Schema --------------------------- <xs:schema> the schema element is the root element.It can contain more attributes. Eg: <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com" xmlns="http://www.w3schools.com" elementFormDefault="qualified"> ... ... </xs:schema> xmlns:xs="http://www.w3.org/2001/XMLSchema" this specifies that the elements and datatypes are coming from "http://www.w3.org/2001/XMLSchema"name space and also these elements and datatypes must have a prefix xs. This need not be xmlns:xs alone it can be xmlns:xsd or any name. targetNamespace="http://www.w3schools.com" indicates that the elements defined by this schema comes from the namesp...