Slide 12 of 22
Notes:
There are several languages for writing schemas; XML Document Type Definitions (DTD) is the only standard one and the most widely used today.
Microsoft's XML tools use a proprietary schema language called XML Data Reduced (XDR), which makes a number of improvements over DTD. For example, XDR schemas can specify data types (e.g., decimal number, date) and allowable values of elements, enabling p
Microsoft says it will eventually replace XDR with the XML Schema language, currently under development by the W3C with input from Microsoft and other companies. Microsoft also says it will provide automated tools for translating XDR schemas to XML Schema
We are using XDR in this schema.
- Now we’re going to look at XML. Up until now, the material we’ve looked at has been the analysis and organization of the material, without actually being in an XML file or schema.
- I’m opening the schema in the Internet Explorer. So technically what you’re looking at is an HTML representation of the schema, rather than pure XML. HTML adds the colors and allows you to expand or collapse parts of the schema to make it easier to view.
- The first line in the file is the declaration of the name space. We’re using the Microsoft versions of XML for both the schema and the datatypes.