comparison _test/Resources/person.xsd @ 217:bfce101e0a5a

Слияние
author cin
date Mon, 20 Aug 2012 10:27:20 +0400
parents 77a9934a44af
children eff7f75a4408
comparison
equal deleted inserted replaced
216:e9fd7ff3f54c 217:bfce101e0a5a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema
3 targetNamespace="http://implab.org/person/"
4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
5 xmlns:tns="http://implab.org/person/"
6 elementFormDefault="qualified"
7 >
8 <xs:complexType name="personInfo">
9 <xs:sequence>
10 <xs:element name="firstName" type="xs:string" />
11 <xs:element name="lastName" type="xs:string" />
12 <xs:element name="address" type="tns:addressType" minOccurs="0" maxOccurs="unbounded"/>
13 </xs:sequence>
14 <xs:attribute name="code" use="optional" type="xs:string"/>
15 </xs:complexType>
16
17 <xs:element name="personInfo" type="tns:personInfo"/>
18
19 <xs:complexType name="addressType">
20 <xs:sequence>
21 <xs:element name="street" type="xs:string" />
22 <xs:element name="line" type="xs:string" />
23 </xs:sequence>
24 </xs:complexType>
25 </xs:schema>