by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)

Getting Started

Example 3-1 shows the instance document used throughout the book as a foundation for RELAX NG experimentation and development.

Example 3-1. Sample instance document

<?xml version="1.0"?>
  <book id="b0836217462" available="true">
   <title xml:lang="en">Being a Dog Is a Full-Time Job</title>
   <author id="CMS">
    <name>Charles M Schulz</name>
   <character id="PP">
    <name>Peppermint Patty</name>
    <qualification>bold, brash and tomboyish</qualification>
   <character id="Snoopy">
    <qualification>extroverted beagle</qualification>
   <character id="Schroeder">
    <qualification>brought classical music to the Peanuts strip</qualification>
   <character id="Lucy">
    <qualification>bossy, crabby and selfish</qualification>

This text is released under the Free Software Foundation GFDL.