Annotating an XML Schema - Exercise

Welcome to our free XML Schema tutorial. This tutorial is based on Webucator's Introduction to XML Schema course.

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

This tutorial is based on Webucator's Introduction to XML Schema Course. We also offer many other XML Training courses. Sign up today to get help from a live instructor.