XML Schema

<!DOCTYPE schema
  PUBLIC '-//W3C//DTD XML Schema Version 1.0//EN'
  SYSTEM 'http://www.w3.org/TR/1999/WD-xmlschema-1-19991217/structures.dtd' >

<schema targetNS="http://www.macfaq.com/examples/schema"
           version="1.0"
           xmlns="http://www.w3.org/1999/XMLSchema">
           
  <datatype name="monthInt" source="integer"/>
    <minInclusive value="1"/>
    <maxInclusive value="12"/>
  </datatype>

  <element name="month" type="monthInt"/>
  
</schema>


Previous | Next | Top | Cafe con Leche

Copyright 1999, 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified February 17, 2000