Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libGeocoding / schemas / PatternNorm.xsd @ 29018

History | View | Annotate | Download (3.82 KB)

1 26845 vsanjaime
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by vic (vic) -->
3
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4
	<!--<xsd:schema targetNamespace="http://www.w3schools.com"
5
		xmlns="http://www.w3schools.com"
6
		xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
		elementFormDefault="qualified"> -->
8
	<xsd:element name="patternnormalization">
9
		<xsd:complexType>
10
			<xsd:sequence>
11
				<xsd:element ref="patternname"/>
12
				<xsd:element ref="patternurl"/>
13
				<xsd:element ref="normalizationfirstrow"/>
14
				<xsd:element ref="addresselements"/>
15
			</xsd:sequence>
16
		</xsd:complexType>
17
	</xsd:element>
18
	<xsd:element name="patternname" type="xsd:string"/>
19
	<xsd:element name="normalizationfirstrow" type="xsd:boolean"  default="true"/>
20
	<xsd:element name="patternurl" type="xsd:string"/>
21
	<xsd:element name="addresselements">
22
		<xsd:complexType>
23
			<xsd:sequence>
24
				<xsd:element ref="addresselement" maxOccurs="unbounded"/>
25
			</xsd:sequence>
26
		</xsd:complexType>
27
	</xsd:element>
28
	<xsd:element name="addresselement">
29
		<xsd:complexType>
30
			<xsd:sequence>
31
				<xsd:element ref="newfieldname"/>
32
				<xsd:element ref="newfieldtype"/>
33
				<xsd:element ref="fieldwidth"/>
34
				<xsd:element ref="fieldseparator" minOccurs="0"/>
35
				<xsd:element ref="infieldseparators"/>
36
				<xsd:element ref="importfield"/>
37
			</xsd:sequence>
38
		</xsd:complexType>
39
	</xsd:element>
40
	<xsd:element name="newfieldname" type="xsd:string"/>
41
	<xsd:element name="newfieldtype">
42
		<xsd:complexType>
43
			<xsd:choice>
44
				<xsd:element ref="stringvalue"/>
45
				<xsd:element ref="datevalue"/>
46
				<xsd:element ref="decimalvalue"/>
47
				<xsd:element ref="integervalue"/>
48
			</xsd:choice>
49
		</xsd:complexType>
50
	</xsd:element>
51
	<xsd:element name="stringvalue">
52
		<xsd:complexType>
53
			<xsd:attribute name="width" type="xsd:int"/>
54
		</xsd:complexType>
55
	</xsd:element>
56
	<xsd:element name="datevalue">
57
		<xsd:complexType>
58
			<xsd:attribute name="format" type="xsd:string" use="required"/>
59
		</xsd:complexType>
60
	</xsd:element>
61
	<xsd:element name="decimalvalue">
62
		<xsd:complexType>
63
			<xsd:attribute name="integers" type="xsd:int" use="required"/>
64
			<xsd:attribute name="decimals" type="xsd:int" use="required"/>
65
		</xsd:complexType>
66
	</xsd:element>
67
	<xsd:element name="integervalue">
68
		<xsd:complexType>
69
			<xsd:attribute name="width" type="xsd:int" use="required"/>
70
		</xsd:complexType>
71
	</xsd:element>
72
	<xsd:element name="fieldwidth" type="xsd:int"/>
73
	<xsd:element name="fieldseparator">
74
		<xsd:complexType>
75
			<xsd:attribute name="tabsep" type="xsd:boolean" use="optional" default="false"/>
76
			<xsd:attribute name="spacesep" type="xsd:boolean" use="optional" default="false"/>
77
			<xsd:attribute name="colonsep" type="xsd:boolean" use="optional" default="false"/>
78
			<xsd:attribute name="semicolonsep" type="xsd:boolean" use="optional" default="false"/>
79
			<xsd:attribute name="othersep" type="xsd:string" use="optional"/>
80
			<xsd:attribute name="joinsep" type="xsd:boolean" use="required"/>
81
		</xsd:complexType>
82
	</xsd:element>
83
	<xsd:element name="importfield" type="xsd:boolean" default="true"/>
84
	<xsd:element name="infieldseparators">
85
		<xsd:complexType>
86
			<xsd:sequence>
87
				<xsd:element ref="thousandseparator"/>
88
				<xsd:element ref="decimalseparator"/>
89
				<xsd:element ref="textseparator"/>
90
			</xsd:sequence>
91
		</xsd:complexType>
92
	</xsd:element>
93
	<xsd:element name="integers" type="xsd:int"/>
94
	<xsd:element name="textseparator">
95
		<xsd:complexType>
96
			<xsd:attribute name="value" type="xsd:string" use="required"/>
97
		</xsd:complexType>
98
	</xsd:element>
99
	<xsd:element name="thousandseparator">
100
		<xsd:complexType>
101
			<xsd:attribute name="value" type="xsd:string" use="required"/>
102
		</xsd:complexType>
103
	</xsd:element>
104
	<xsd:element name="decimalseparator">
105
		<xsd:complexType>
106
			<xsd:attribute name="value" type="xsd:string" use="required"/>
107
		</xsd:complexType>
108
	</xsd:element>
109
</xsd:schema>