GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


example schema by statler
1
 
<?xml version="1.0" encoding="ISO-8859-1" ?>

<xs:schema
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        elementFormDefault="qualified"
        attributeFormDefault="qualified"
>
    <xs:element name="bean-project">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="company-name" type="xs:string" />
                <xs:element name="work-directory" type="xs:string" />
                <xs:element name="generate-xml" type="xs:boolean"
                    minOccurs="0" maxOccurs="1" />
                <xs:element name="bean" type="beanType" 
                    minOccurs="1" maxOccurs="unbounded" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>