Annotating an XML Schema
Duration: 10 to 15 minutes.
In this exercise, you will annotate the schema you created in the "Tying It All Together" exercise.
- Open the schema you created in the "Tying It All Together" and save it in the AnnotatingXMLSchemas/Exercises directory.
- Annotate the schema as you see fit.
- Paste the following line of code under the XML declaration at the top of the schema.
<?xml-stylesheet type="text/xsl" href="Annotation.xsl"?>
- Open the schema in Internet Explorer or Netscape to see the HTML documentation.