Annotation of embedaddon/libxml2/test/schemas/allsg_0.xsd, revision 1.1.1.1
1.1 misho 1: <?xml version="1.0"?>
2: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3: targetNamespace="urn:test:foo"
4: xmlns:foo="urn:test:foo">
5:
6: <!-- Substitution group heads. -->
7: <xsd:element name="gh-A" abstract="true"/>
8: <xsd:element name="gh-B" abstract="true"/>
9:
10: <!-- Substitution group members. -->
11: <xsd:element name="gm-A-1" substitutionGroup="foo:gh-A"/>
12: <xsd:element name="gm-A-2" substitutionGroup="foo:gh-A"/>
13:
14: <xsd:element name="gm-B-1" substitutionGroup="foo:gh-B"/>
15: <xsd:element name="gm-B-2" substitutionGroup="foo:gh-B"/>
16:
17: <xsd:element name="foo">
18: <xsd:complexType>
19: <xsd:all>
20: <xsd:element ref="foo:gh-A"/>
21: <xsd:element ref="foo:gh-B"/>
22: </xsd:all>
23: </xsd:complexType>
24: </xsd:element>
25:
26: </xsd:schema>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>