[Slide]

Simple types for Quick Example

<simpleType name='errorType'>
  <restriction base='xsd:string'>
     <enumeration value='informational'/>
     <enumeration value='warning'/>
     <enumeration value='error'/>
     <enumeration value='fatal'/>
  </restriction>
</simpleType>

<simpleType name='errorCode'>
   <restriction base='xsd:positiveInteger'>
      <minInclusive value='200'/>
      <maxExclusive value='1000'/>
   </restriction>
</simpleType>

Quick Example:

<event id="5939" timestamp="2001-04-12T12:02:44.5-08:00">
  <error type='fatal' code='567' xml:lang='us_en'>
  The sprocket spanged against the secondary widget, causing 
  bits to  fly in all directions.
  </error>
</event>

Copyright (c) 2001 Mary Holstege
All rights reserved.