Commit 2da3d5a2 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2003-06-12 11:54:45 by cvscast] Merging schema

Original author: cvscast
Date: 2003-06-12 11:54:49+00:00
parent 616aecd7
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="empty">
<xsd:complexType>
<xsd:choice/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<foo>
<a0/>
<a1/>
<a6/>
<a7/>
</foo>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="foo">
<xsd:complexType>
<xsd:sequence>
<xsd:choice>
<xsd:sequence>
<xsd:element name="a0" type="xsd:string"/>
<xsd:element name="a1" type="xsd:string"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="a2" type="xsd:string"/>
<xsd:element name="a3" type="xsd:string"/>
</xsd:sequence>
</xsd:choice>
<xsd:choice>
<xsd:sequence>
<xsd:element name="a4" type="xsd:string"/>
<xsd:element name="a5" type="xsd:string"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="a6" type="xsd:string"/>
<xsd:element name="a7" type="xsd:string"/>
</xsd:sequence>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<gDay>---12</gDay>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="gDay" type="xsd:gDay"/>
</xsd:schema>
<gMonth>--12--</gMonth>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="gMonth" type="xsd:gMonth"/>
</xsd:schema>
<gMonthDay>--12-25</gMonthDay>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="gMonthDay" type="xsd:gMonthDay"/>
</xsd:schema>
<gYear>-1999</gYear>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="gYear" type="xsd:gYear"/>
</xsd:schema>
<gYearMonth>-1999-12</gYearMonth>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="gYearMonth" type="xsd:gYearMonth"/>
</xsd:schema>
<hexBinary>48656c6c6f2c20576f726c6421</hexBinary>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="hexBinary" type="xsd:hexBinary"/>
</xsd:schema>
<integer>12</integer>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="integer" type="xsd:integer"/>
</xsd:schema>
<mails>
<mail id="56">
<email>
<envelope>
<from>Pippo</from>
<to>Pluto</to>
<subject>foo1</subject>
</envelope>
<body>48656c6c6f2c20576f726c6421</body>
</email>
</mail>
<mail id="57">
<snailmail>
<envelope>
<from>Qui</from>
<to>Paperino</to>
<subject>:-PPPP</subject>
</envelope>
<body>mail inutile</body>
</snailmail>
</mail>
</mails>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="mails" type="mailsT"/>
<xsd:complexType name="mailsT">
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element name="mail" type="mailT"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="mailT">
<xsd:sequence>
<xsd:choice>
<xsd:element name="email" type="emailT"/>
<xsd:element name="snailmail" type="snailmailT"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute use="required" name="id" type="xsd:integer"/>
</xsd:complexType>
<xsd:complexType name="emailT">
<xsd:sequence>
<xsd:element name="envelope" type="envelopeT"/>
<xsd:element name="body" type="xsd:hexBinary"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="snailmailT">
<xsd:sequence>
<xsd:element name="envelope" type="envelopeT"/>
<xsd:element name="body" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="envelopeT">
<xsd:sequence>
<xsd:element name="from" type="xsd:string"/>
<xsd:element name="to" type="xsd:string"/>
<xsd:element name="subject" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<root>
<bar />
<foo />
</root>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment