<?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>XmlTree Sample</title>
    </header>
    <body>
        <section>
            <title>Description</title>
            <p>Author: Steve Traut</p>
            <p>Available: 2005-07-08</p>
            <p>Versions: xmlbeans-1.0.3, xmlbeans-v2</p>
            <p>This sample illustrates how you can use the XMLBeans API to create a Java 
tree view of an XML document. The JTree implementation in the sample supports 
binding to any XML document. By accessing bound XML using an XmlCursor 
instance and XPath rather than through accessors provided by compiling
schema, the data model behind this tree can support XML without regard
to schema. The XmlEntry contains the simple code that is XMLBeans-aware. 
The XmlModel class, with which the tree implementation interacts directly, 
in turn knows nothing of XMLBeans or the underlying XML, instead reaching 
the data through XmlEntry instances.</p>
        </section>
        <section>
            <title>Files</title>
            <ul>
              <li><a href="XmlTree.zip">Zip of all files (XmlTree.zip)</a></li>
              <li><a href="XmlTree.tgz">Tar gzip of all files (XmlTree.tgz)</a></li>
            </ul>
            <ul>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/README.txt">Readme file</a></li>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/src/org/apache/xmlbeans/samples/xmltree/XmlEntry.java">XmlEntry.java</a></li>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/src/org/apache/xmlbeans/samples/xmltree/XmlModel.java">XmlModel.java</a></li>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/src/org/apache/xmlbeans/samples/xmltree/XmlTree.java">XmlTree.java</a></li>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/src/org/apache/xmlbeans/samples/xmltree/XmlTreeFrame.java">XmlTreeFrame.java</a></li>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/src/org/apache/xmlbeans/samples/xmltree/XmlTreeTest.java">XmlTreeTest.java</a></li>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/xml/PurchaseOrder.xml">PurchaseOrder.xml</a></li>
                <li><a href="https://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/XmlTree/build.xml">build.xml</a></li>
            </ul>
        </section>
    </body>
</document>
