Question: what are the main advantages of xml schema over dtd?
Answer: XSD is extensible. You can derive new elements from the existing elements. ...  XSD is defined in XML. It does not require intermediate processing by a parser. ...  XSD supports data types. ...  XSD supports default values. ...  XSD supports references to external XML schemas.