• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 <?xml version="1.0"?>
2 <xsd:schema
3 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4 	targetNamespace="http://FOO"
5 	xmlns:foo="http://FOO">
6 
7 	<xsd:element name="boo">
8 		<xsd:complexType>
9 			<xsd:attribute name="booAttr" type="xsd:integer" />
10 		</xsd:complexType>
11 	</xsd:element>
12 
13 	<xsd:element name="foo">
14 		<xsd:complexType>
15 			<xsd:choice>
16 				<xsd:any namespace="http://FOO" processContents="lax" maxOccurs="1"/>
17 				<xsd:element name="anything" form="qualified">
18 					<xsd:complexType>
19 						<xsd:sequence>
20 							<xsd:element ref="foo:boo"/>
21 						</xsd:sequence>
22 					</xsd:complexType>
23 				</xsd:element>
24 			</xsd:choice>
25 		</xsd:complexType>
26 	</xsd:element>
27 
28 </xsd:schema>