<?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>MixedContent 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 work with mixed content XML by combining strong
                types generated from schema with an XmlCursor instance. The XmlCursor interface is
                provided with XMLBeans for just this kind of use. With strong types you can only get
                or set the full value of an element; by using a cursor you can "dive into" the
                contents of an element, manipulating child elements that are embedded in the content
                and surrounded by other text.</p>
        </section>
        <section>
            <title>Files</title>
            <ul>
              <li><a href="MixedContent.zip">Zip of all files (MixedContent.zip)</a></li>
              <li><a href="MixedContent.tgz">Tar gzip of all files (MixedContent.tgz)</a></li>
            </ul>
            <ul>
                <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/MixedCursor/README.txt">Readme file</a></li>
                <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/MixedCursor/src/org/apache/xmlbeans/samples/cursor/MixedContent.java">MixedContent.java</a></li>
                <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/MixedCursor/schemas/inventory.xsd">inventory.xsd</a></li>
                <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/MixedCursor/xml/inventoryitems.xml">inventoryitems.xml</a></li>
                <li><a href="http://svn.apache.org/viewcvs.cgi/*checkout*/xmlbeans/trunk/samples/MixedCursor/build.xml">build.xml</a></li>
            </ul>
        </section>
    </body>
</document>
