ex_entries.xsd 1.13 KB
Newer Older
Olivier Lequeux's avatar
Olivier Lequeux committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://operations-portal.egi.eu/ex_entries.xsd" targetNamespace="http://operations-portal.egi.eu/ex_entries.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified">
    <!--
        author : Olivier LEqueux
        description : This schema is an extension of the original Lavoisier one :
    -->
    <!--  root when parameter single=false  -->
    <element name="entries">
        <complexType>
            <choice minOccurs="0" maxOccurs="unbounded">
                <any minOccurs="1" maxOccurs="1"/>
                <element ref="tns:entry" minOccurs="1" maxOccurs="1"/>
            </choice>
            <attribute name="key" use="optional" type="string"/>
        </complexType>
    </element>
    <!--  root when parameter single=true  -->
    <element name="entry">
        <complexType>
            <complexContent>
                <extension base="string">
                    <attribute name="key" use="optional" type="string"/>
                </extension>
            </complexContent>
        </complexType>
    </element>
</schema>