<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
<document>
    <header>
        <title>SchemaEnum Sample</title>
    </header>
    <body>
        <section>
            <title>Description</title>
            <p>Author: Steve Traut</p>
            <p>Available: 2004-09-15</p>
            <p>Versions: xmlbeans-1.0.3, xmlbeans-v2</p>
            <p>This sample illustrates how you can access XML values that are defined in schema as
                enumerations. When a schema containing enumerations is compiled, the generated Java
                types represent the schema enumerations with Java enumerations. You can access these
                through their constants and corresponding int values.</p>
        </section>
        <section>
            <title>Files</title>
            <ul>
              <li><a href="SchemaEnum.zip">Zip of all files (SchemaEnum.zip)</a></li>
              <li><a href="SchemaEnum.tgz">Tar gzip of all files (SchemaEnum.tgz)</a></li>
            </ul>
            <ul>
              <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/SchemaEnum/README.txt">Readme file</a></li>
              <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/SchemaEnum/src/org/apache/xmlbeans/samples/enumeration/SchemaEnum.java">SchemaEnum.java</a></li>
              <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/SchemaEnum/schemas/EasyPO.xsd">EasyPO.xsd</a></li>
              <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/SchemaEnum/schemas/PriceSummary.xsd">PriceSummary.xsd</a></li>
              <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/SchemaEnum/xml/PriceSummary.xml">PriceSummary.xml</a></li>
              <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/SchemaEnum/xml/PurchaseOrder.xml">PurchaseOrder.xml</a></li>
              <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/SchemaEnum/build.xml">build.xml</a></li>
            </ul>
        </section>
    </body>
</document>
