comparison _test/Resources/person.xsd @ 215:77a9934a44af

sync, migrating to XML::Compile
author cin
date Sun, 19 Aug 2012 22:27:43 +0400
parents
children eff7f75a4408
comparison
equal deleted inserted replaced
214:4683002758aa 215:77a9934a44af
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>