<!--
    Copyright (C) 2004 Orbeon, Inc.
  
    This program is free software; you can redistribute it and/or modify it under the terms of the
    GNU Lesser General Public License as published by the Free Software Foundation; either version
    2.1 of the License, or (at your option) any later version.
  
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
    without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    See the GNU Lesser General Public License for more details.
  
    The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
-->
<element name="config" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
    xmlns="http://relaxng.org/ns/structure/1.0">
    <choice>
        <interleave>
            <optional>
                <element name="content-type">
                    <data type="string"/>
                </element>
            </optional>
            <optional>
                <element name="status-code">
                    <data type="integer"/>
                </element>
            </optional>
            <optional>
                <element name="empty-content">
                    <data type="boolean"/>
                </element>
            </optional>
            <optional>
                <element name="error-code">
                    <data type="integer"/>
                </element>
            </optional>
            <optional>
                <element name="method">
                    <data type="string"/>
                </element>
            </optional>
            <optional>
                <element name="version">
                    <data type="string"/>
                </element>
            </optional>
            <optional>
                <element name="public-doctype">
                    <data type="string"/>
                </element>
            </optional>
            <optional>
                <element name="system-doctype">
                    <data type="string"/>
                </element>
            </optional>
            <optional>
                <element name="omit-xml-declaration">
                    <data type="boolean"/>
                </element>
            </optional>
            <optional>
                <element name="standalone">
                    <data type="boolean"/>
                </element>
            </optional>
            <optional>
                <element name="encoding">
                    <data type="string"/>
                </element>
            </optional>
            <optional>
                <element name="indent">
                    <data type="boolean"/>
                </element>
            </optional>
            <optional>
                <element name="indent-amount">
                    <data type="positiveInteger"/>
                </element>
            </optional>
            <optional>
                <element name="cache-control">
                    <optional>
                        <element name="use-local-cache">
                            <choice>
                                <value>true</value>
                                <value>false</value>
                            </choice>
                        </element>
                    </optional>
                </element>
            </optional>
            <zeroOrMore>
                <element name="header">
                    <element name="name">
                        <data type="string"/>
                    </element>
                    <element name="value">
                        <data type="string"/>
                    </element>
                </element>
            </zeroOrMore>
        </interleave>
    </choice>
</element>
