Karen Vagts: XML Portfolio
[ XML Course Web Page ]
[ XML
Portfolio Home ]
[ XML Resources ]
Assignment 3
Create a demonstration XML Scheme
(.xsd). Create an .xml page applying the
schema. Validate the schema [include the
URL or name of the program you use to validate
the page]. Due 21 Feb 2007.
The XML sheet developed for Assignment
2 was refined to
permit for the possibility of the hypothetical
gazetteer to include other countries. View
revised XML sheet >>.
Then the elements were
compiled into two XML schemas (xsd).
- Schema 1: vagts_assg_03a.xsd.
The first one is pretty basic -- an
attempt to get the syntax and basic
structure. This was validated by the
W3 schema and Validrome validation
tool (see Resources > Tools).
View schema >>.
- Schema 2: vagts_assg_03b.xsd. This builds complex
types and declares custom types. It
revealed issue with the basic concepts
of some the elements. It was partially
validated by the validators, neither
of which like the custom types although
the document tree for the schema is viewable in browsers. View schema >>.