Skip to main content
summaryrefslogtreecommitdiffstats
blob: 425bcb330784825a2b60c04363555719568654b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/human" xmlns:tns="http://www.example.org/human" elementFormDefault="qualified">

    <complexType name="Root">
    	<sequence>
    		<element name="human" type="tns:Human" maxOccurs="unbounded" minOccurs="0"></element>
    	</sequence>
    </complexType>
    
    <complexType name="Human">
    	<attribute name="name" type="string"></attribute>
    	<attribute name="age" type="int"></attribute>
    </complexType>

    <element name="root" type="tns:Root"></element>
</schema>

Back to the top