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.

28 lines
679 B

<?xml version="1.0"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://FOO"
xmlns:foo="http://FOO">
<xsd:element name="boo">
<xsd:complexType>
<xsd:attribute name="booAttr" type="xsd:integer" />
</xsd:complexType>
</xsd:element>
<xsd:element name="foo">
<xsd:complexType>
<xsd:choice>
<xsd:any namespace="http://FOO" processContents="lax" maxOccurs="1"/>
<xsd:element name="anything" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="foo:boo"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>