Revision 22975 trunk/extensions/extNormalization/src-test/org/gvsig/normalization/operations/testdata/PATNORM_TEST.xml
PATNORM_TEST.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by vic (vic) --> |
|
3 |
<patternnormalization> |
|
4 |
<patternname>PATNORM_TEST.xml</patternname> |
|
5 |
<patternurl>C:\Documents and Settings\jsanz\Mis documentos\PATNORM_TEST.xml</patternurl> |
|
6 |
<normalizationfirstrows>1</normalizationfirstrows> |
|
7 |
<addresselements> |
|
8 |
<addresselement> |
|
9 |
<newfieldname>ID</newfieldname> |
|
10 |
<newfieldtype> |
|
11 |
<stringvalue width="50"/> |
|
12 |
</newfieldtype> |
|
13 |
<fieldwidth>0</fieldwidth> |
|
14 |
<fieldseparator tabsep="false" spacesep="false" colonsep="true" semicolonsep="true" joinsep="false"/> |
|
15 |
<infieldseparators> |
|
16 |
<thousandseparator value=","/> |
|
17 |
<decimalseparator value="."/> |
|
18 |
<textseparator value="""/> |
|
19 |
</infieldseparators> |
|
20 |
<importfield>true</importfield> |
|
21 |
</addresselement> |
|
22 |
<addresselement> |
|
23 |
<newfieldname>NOMBRE</newfieldname> |
|
24 |
<newfieldtype> |
|
25 |
<stringvalue width="50"/> |
|
26 |
</newfieldtype> |
|
27 |
<fieldwidth>0</fieldwidth> |
|
28 |
<fieldseparator tabsep="false" spacesep="false" colonsep="false" semicolonsep="true" joinsep="false"/> |
|
29 |
<infieldseparators> |
|
30 |
<thousandseparator value=","/> |
|
31 |
<decimalseparator value="."/> |
|
32 |
<textseparator value="""/> |
|
33 |
</infieldseparators> |
|
34 |
<importfield>true</importfield> |
|
35 |
</addresselement> |
|
36 |
<addresselement> |
|
37 |
<newfieldname>DESC</newfieldname> |
|
38 |
<newfieldtype> |
|
39 |
<stringvalue width="50"/> |
|
40 |
</newfieldtype> |
|
41 |
<fieldwidth>0</fieldwidth> |
|
42 |
<fieldseparator tabsep="true" spacesep="false" colonsep="false" semicolonsep="true" joinsep="false"/> |
|
43 |
<infieldseparators> |
|
44 |
<thousandseparator value=","/> |
|
45 |
<decimalseparator value="."/> |
|
46 |
<textseparator value="""/> |
|
47 |
</infieldseparators> |
|
48 |
<importfield>true</importfield> |
|
49 |
</addresselement> |
|
50 |
<addresselement> |
|
51 |
<newfieldname>X</newfieldname> |
|
52 |
<newfieldtype> |
|
53 |
<decimalvalue integers="25" decimals="10"/> |
|
54 |
</newfieldtype> |
|
55 |
<fieldwidth>0</fieldwidth> |
|
56 |
<fieldseparator tabsep="true" spacesep="false" colonsep="false" semicolonsep="true" joinsep="false"/> |
|
57 |
<infieldseparators> |
|
58 |
<thousandseparator value="@"/> |
|
59 |
<decimalseparator value=","/> |
|
60 |
<textseparator value="""/> |
|
61 |
</infieldseparators> |
|
62 |
<importfield>true</importfield> |
|
63 |
</addresselement> |
|
64 |
<addresselement> |
|
65 |
<newfieldname>Y</newfieldname> |
|
66 |
<newfieldtype> |
|
67 |
<decimalvalue integers="25" decimals="10"/> |
|
68 |
</newfieldtype> |
|
69 |
<fieldwidth>0</fieldwidth> |
|
70 |
<fieldseparator tabsep="false" spacesep="false" colonsep="false" semicolonsep="true" joinsep="false"/> |
|
71 |
<infieldseparators> |
|
72 |
<thousandseparator value=","/> |
|
73 |
<decimalseparator value="."/> |
|
74 |
<textseparator value="""/> |
|
75 |
</infieldseparators> |
|
76 |
<importfield>true</importfield> |
|
77 |
</addresselement> |
|
78 |
<addresselement> |
|
79 |
<newfieldname>DATE</newfieldname> |
|
80 |
<newfieldtype> |
|
81 |
<datevalue format="dd/MM/yy"/> |
|
82 |
</newfieldtype> |
|
83 |
<fieldwidth>0</fieldwidth> |
|
84 |
<fieldseparator tabsep="false" spacesep="false" colonsep="false" semicolonsep="true" joinsep="false"/> |
|
85 |
<infieldseparators> |
|
86 |
<thousandseparator value=","/> |
|
87 |
<decimalseparator value="."/> |
|
88 |
<textseparator value="""/> |
|
89 |
</infieldseparators> |
|
90 |
<importfield>true</importfield> |
|
91 |
</addresselement> |
|
92 |
</addresselements> |
|
93 |
</patternnormalization> |
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<patternnormalization _type="object" |
|
3 |
_class="org.gvsig.patterns.normalization.Patternnormalization"> |
|
4 |
<patternname _type="str">PATNORM_TEST</patternname> |
|
5 |
<patternurl _type="str"> |
|
6 |
C:\\Documents and Settings\\jsanz\\Mis documentos\\PATNORM_TEST.xml |
|
7 |
</patternurl> |
|
8 |
<nofirstrows _type="int">1</nofirstrows> |
|
9 |
<elements _type="list"> |
|
10 |
<item _type="object" |
|
11 |
_class="org.gvsig.patterns.normalization.Element"> |
|
12 |
<fieldname _type="str">ID</fieldname> |
|
13 |
<fieldtype _type="object" |
|
14 |
_class="org.gvsig.patterns.normalization.Fieldtype"> |
|
15 |
<stringvalue _type="object" |
|
16 |
_class="org.gvsig.patterns.normalization.Stringvalue"> |
|
17 |
<stringvaluewidth _type="int">50</stringvaluewidth> |
|
18 |
</stringvalue> |
|
19 |
</fieldtype> |
|
20 |
<fieldwidth _type="int">0</fieldwidth> |
|
21 |
<fieldseparator _type="object" |
|
22 |
_class="org.gvsig.patterns.normalization.Fieldseparator"> |
|
23 |
<tabsep _type="str">false</tabsep> |
|
24 |
<spacesep _type="str">false</spacesep> |
|
25 |
<colonsep _type="str">true</colonsep> |
|
26 |
<semicolonsep _type="str">true</semicolonsep> |
|
27 |
<othersep _type="null"></othersep> |
|
28 |
<joinsep _type="str">false</joinsep> |
|
29 |
</fieldseparator> |
|
30 |
<infieldseparators _type="object" |
|
31 |
_class="org.gvsig.patterns.normalization.Infieldseparators"> |
|
32 |
<thousandseparator _type="str">,</thousandseparator> |
|
33 |
<decimalseparator _type="str">.</decimalseparator> |
|
34 |
<textseparator _type="str">"</textseparator> |
|
35 |
</infieldseparators> |
|
36 |
<importfield _type="str">true</importfield> |
|
37 |
</item> |
|
38 |
<item _type="object" |
|
39 |
_class="org.gvsig.patterns.normalization.Element"> |
|
40 |
<fieldname _type="str">NOMBRE</fieldname> |
|
41 |
<fieldtype _type="object" |
|
42 |
_class="org.gvsig.patterns.normalization.Fieldtype"> |
|
43 |
<stringvalue _type="object" |
|
44 |
_class="org.gvsig.patterns.normalization.Stringvalue"> |
|
45 |
<stringvaluewidth _type="int">50</stringvaluewidth> |
|
46 |
</stringvalue> |
|
47 |
</fieldtype> |
|
48 |
<fieldwidth _type="int">0</fieldwidth> |
|
49 |
<fieldseparator _type="object" |
|
50 |
_class="org.gvsig.patterns.normalization.Fieldseparator"> |
|
51 |
<tabsep _type="str">false</tabsep> |
|
52 |
<spacesep _type="str">false</spacesep> |
|
53 |
<colonsep _type="str">false</colonsep> |
|
54 |
<semicolonsep _type="str">true</semicolonsep> |
|
55 |
<othersep _type="null"></othersep> |
|
56 |
<joinsep _type="str">false</joinsep> |
|
57 |
</fieldseparator> |
|
58 |
<infieldseparators _type="object" |
|
59 |
_class="org.gvsig.patterns.normalization.Infieldseparators"> |
|
60 |
<thousandseparator _type="str">,</thousandseparator> |
|
61 |
<decimalseparator _type="str">.</decimalseparator> |
|
62 |
<textseparator _type="str">"</textseparator> |
|
63 |
</infieldseparators> |
|
64 |
<importfield _type="str">true</importfield> |
|
65 |
</item> |
|
66 |
<item _type="object" |
|
67 |
_class="org.gvsig.patterns.normalization.Element"> |
|
68 |
<fieldname _type="str">DESC</fieldname> |
|
69 |
<fieldtype _type="object" |
|
70 |
_class="org.gvsig.patterns.normalization.Fieldtype"> |
|
71 |
<stringvalue _type="object" |
|
72 |
_class="org.gvsig.patterns.normalization.Stringvalue"> |
|
73 |
<stringvaluewidth _type="int">50</stringvaluewidth> |
|
74 |
</stringvalue> |
|
75 |
</fieldtype> |
|
76 |
<fieldwidth _type="int">0</fieldwidth> |
|
77 |
<fieldseparator _type="object" |
|
78 |
_class="org.gvsig.patterns.normalization.Fieldseparator"> |
|
79 |
<tabsep _type="str">true</tabsep> |
|
80 |
<spacesep _type="str">false</spacesep> |
|
81 |
<colonsep _type="str">false</colonsep> |
|
82 |
<semicolonsep _type="str">true</semicolonsep> |
|
83 |
<othersep _type="null"></othersep> |
|
84 |
<joinsep _type="str">false</joinsep> |
|
85 |
</fieldseparator> |
|
86 |
<infieldseparators _type="object" |
|
87 |
_class="org.gvsig.patterns.normalization.Infieldseparators"> |
|
88 |
<thousandseparator _type="str">,</thousandseparator> |
|
89 |
<decimalseparator _type="str">.</decimalseparator> |
|
90 |
<textseparator _type="str">"</textseparator> |
|
91 |
</infieldseparators> |
|
92 |
<importfield _type="str">true</importfield> |
|
93 |
</item> |
|
94 |
<item _type="object" |
|
95 |
_class="org.gvsig.patterns.normalization.Element"> |
|
96 |
<fieldname _type="str">X</fieldname> |
|
97 |
<fieldtype _type="object" |
|
98 |
_class="org.gvsig.patterns.normalization.Fieldtype"> |
|
99 |
<decimalvalue _type="object" |
|
100 |
_class="org.gvsig.patterns.normalization.Decimalvalue"> |
|
101 |
<decimalvalueint _type="int">25</decimalvalueint> |
|
102 |
<decimalvaluedec _type="int">10</decimalvaluedec> |
|
103 |
</decimalvalue> |
|
104 |
</fieldtype> |
|
105 |
<fieldwidth _type="int">0</fieldwidth> |
|
106 |
<fieldseparator _type="object" |
|
107 |
_class="org.gvsig.patterns.normalization.Fieldseparator"> |
|
108 |
<tabsep _type="str">true</tabsep> |
|
109 |
<spacesep _type="str">false</spacesep> |
|
110 |
<colonsep _type="str">false</colonsep> |
|
111 |
<semicolonsep _type="str">true</semicolonsep> |
|
112 |
<othersep _type="null"></othersep> |
|
113 |
<joinsep _type="str">false</joinsep> |
|
114 |
</fieldseparator> |
|
115 |
<infieldseparators _type="object" |
|
116 |
_class="org.gvsig.patterns.normalization.Infieldseparators"> |
|
117 |
<thousandseparator _type="str">@</thousandseparator> |
|
118 |
<decimalseparator _type="str">,</decimalseparator> |
|
119 |
<textseparator _type="str">"</textseparator> |
|
120 |
</infieldseparators> |
|
121 |
<importfield _type="str">true</importfield> |
|
122 |
</item> |
|
123 |
<item _type="object" |
|
124 |
_class="org.gvsig.patterns.normalization.Element"> |
|
125 |
<fieldname _type="str">Y</fieldname> |
|
126 |
<fieldtype _type="object" |
|
127 |
_class="org.gvsig.patterns.normalization.Fieldtype"> |
|
128 |
<decimalvalue _type="object" |
|
129 |
_class="org.gvsig.patterns.normalization.Decimalvalue"> |
|
130 |
<decimalvalueint _type="int">25</decimalvalueint> |
|
131 |
<decimalvaluedec _type="int">10</decimalvaluedec> |
|
132 |
</decimalvalue> |
|
133 |
</fieldtype> |
|
134 |
<fieldwidth _type="int">0</fieldwidth> |
|
135 |
<fieldseparator _type="object" |
|
136 |
_class="org.gvsig.patterns.normalization.Fieldseparator"> |
|
137 |
<tabsep _type="str">false</tabsep> |
|
138 |
<spacesep _type="str">false</spacesep> |
|
139 |
<colonsep _type="str">false</colonsep> |
|
140 |
<semicolonsep _type="str">true</semicolonsep> |
|
141 |
<othersep _type="null"></othersep> |
|
142 |
<joinsep _type="str">false</joinsep> |
|
143 |
</fieldseparator> |
|
144 |
<infieldseparators _type="object" |
|
145 |
_class="org.gvsig.patterns.normalization.Infieldseparators"> |
|
146 |
<thousandseparator _type="str">,</thousandseparator> |
|
147 |
<decimalseparator _type="str">.</decimalseparator> |
|
148 |
<textseparator _type="str">"</textseparator> |
|
149 |
</infieldseparators> |
|
150 |
<importfield _type="str">true</importfield> |
|
151 |
</item> |
|
152 |
<item _type="object" |
|
153 |
_class="org.gvsig.patterns.normalization.Element"> |
|
154 |
<fieldname _type="str">DATE</fieldname> |
|
155 |
<fieldtype _type="object" |
|
156 |
_class="org.gvsig.patterns.normalization.Fieldtype"> |
|
157 |
<datevalue _type="object" |
|
158 |
_class="org.gvsig.patterns.normalization.Datevalue"> |
|
159 |
<datevalueformat _type="str">dd/MM/yy</datevalueformat> |
|
160 |
</datevalue> |
|
161 |
</fieldtype> |
|
162 |
<fieldwidth _type="int">0</fieldwidth> |
|
163 |
<fieldseparator _type="object" |
|
164 |
_class="org.gvsig.patterns.normalization.Fieldseparator"> |
|
165 |
<tabsep _type="str">false</tabsep> |
|
166 |
<spacesep _type="str">false</spacesep> |
|
167 |
<colonsep _type="str">false</colonsep> |
|
168 |
<semicolonsep _type="str">true</semicolonsep> |
|
169 |
<othersep _type="null"></othersep> |
|
170 |
<joinsep _type="str">false</joinsep> |
|
171 |
</fieldseparator> |
|
172 |
<infieldseparators _type="object" |
|
173 |
_class="org.gvsig.patterns.normalization.Infieldseparators"> |
|
174 |
<thousandseparator _type="str">,</thousandseparator> |
|
175 |
<decimalseparator _type="str">.</decimalseparator> |
|
176 |
<textseparator _type="str">"</textseparator> |
|
177 |
</infieldseparators> |
|
178 |
<importfield _type="str">true</importfield> |
|
179 |
</item> |
|
180 |
</elements> |
|
181 |
</patternnormalization> |
Also available in: Unified diff