Daniel Veillard | c0826a7 | 2004-08-10 14:17:33 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 3 | targetNamespace="http://FOO" |
| 4 | xmlns:foo="http://FOO" |
| 5 | xmlns:goo="http://GOO"> |
| 6 | |
| 7 | <xsd:element name="bar" type="xsd:string"/> |
| 8 | <xsd:element type="xsd:string"/> |
| 9 | <xsd:element name="foo" |
| 10 | ref="foo:bar" minOccurs="3" maxOccurs="2" |
| 11 | abstract="true" block="flute" |
| 12 | form="qualified" id="b12" nillable="true" |
| 13 | substitutionGroup="foo:bar" |
| 14 | default="Jimi" fixed="Hendrix" final="fantasy"> |
| 15 | |
| 16 | <xsd:complexType> |
| 17 | <xsd:sequence> |
| 18 | <xsd:element ref="foo:bar" name="myomy" minOccurs="3" |
| 19 | maxOccurs="2" abstract="true" block="flute" |
Kasimier T. Buchcik | ba70cc0 | 2005-02-28 10:28:21 +0000 | [diff] [blame] | 20 | form="qualified" id="b13" nillable="true" |
Daniel Veillard | c0826a7 | 2004-08-10 14:17:33 +0000 | [diff] [blame] | 21 | substitutionGroup="foo:bar" type="xsd:string" |
| 22 | default="Jimi" fixed="Hendrix" final="fantasy"> |
| 23 | <xsd:complexType/> |
| 24 | <xsd:simpleType/> |
| 25 | </xsd:element> |
| 26 | <xsd:element name="myomy" maxOccurs="0" |
| 27 | abstract="true" block="flute" |
Kasimier T. Buchcik | ba70cc0 | 2005-02-28 10:28:21 +0000 | [diff] [blame] | 28 | form="qualified" id="b14" nillable="true" |
Daniel Veillard | c0826a7 | 2004-08-10 14:17:33 +0000 | [diff] [blame] | 29 | substitutionGroup="foo:bar" type="xsd:string" |
| 30 | default="Jimi" fixed="Hendrix" final="fantasy"> |
| 31 | <xsd:complexType/> |
| 32 | <xsd:simpleType/> |
| 33 | </xsd:element> |
| 34 | </xsd:sequence> |
| 35 | </xsd:complexType> |
| 36 | |
| 37 | </xsd:element> |
| 38 | |
| 39 | </xsd:schema> |