XML Schema

A DTD cannot easily be converted into a CREATE TABLE statement as DTD's only describe character data. The W3C defined a XML language called XML Schema that can better describe data (with proper data types).

XML Schemas can easily be converted into CREATE TABLE statements. Look at this example: