Annotating an XML Schema - Exercise

Contact Us or call 1-877-932-8228
Annotating an XML Schema - Exercise

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.

  1. Open the schema you created in the "Tying It All Together" and save it in the AnnotatingXMLSchemas/Exercises directory.
  2. Annotate the schema as you see fit.
  3. Paste the following line of code under the XML declaration at the top of the schema.
    <?xml-stylesheet type="text/xsl" href="Annotation.xsl"?>
  4. Open the schema in Internet Explorer or Netscape to see the HTML documentation.
Next