You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
<?xml version="1.0"?>
|
|
<xsd:schema
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:target="http://www.example.com/Test"
|
|
targetNamespace="http://www.example.com/Test"
|
|
version="1.0"
|
|
elementFormDefault="qualified" >
|
|
|
|
<xsd:element name="foo" />
|
|
<xsd:element name="bar" />
|
|
<xsd:element name="joe" />
|
|
|
|
<xsd:complexType name="dominik">
|
|
<xsd:all>
|
|
<xsd:element minOccurs="0" ref="target:foo" />
|
|
<xsd:element minOccurs="0" ref="target:bar" />
|
|
<xsd:element minOccurs="0" ref="target:joe" />
|
|
</xsd:all>
|
|
</xsd:complexType>
|
|
|
|
<xsd:element name="test">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" name="child" type="target:dominik" />
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
|
|
</xsd:schema> |