<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
elementFormDefault="qualified" | |
targetNamespace="http://www.example.com/postals" | |
xmlns:postals="http://www.example.com/postals"> | |
<xs:element name="postals"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element maxOccurs="unbounded" ref="postals:row"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="row"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element ref="postals:city"/> | |
<xs:element ref="postals:prefix"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="city" type="xs:string"/> | |
<xs:element name="prefix" type="xs:string"/> | |
</xs:schema> |