Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20 4327 aaronmk
                            </_join>
21 4066 aaronmk
                        </2>
22 4621 aaronmk
                    </_alt>
23
                </authorlocationcode>
24 4753 aaronmk
                <elevation_m>
25 4818 aaronmk
                    <_units>
26
                        <to>m</to>
27
                        <to></to>
28 4621 aaronmk
                        <value>$verbatimElevation</value>
29 4818 aaronmk
                    </_units>
30 4753 aaronmk
                </elevation_m>
31 4726 aaronmk
                <locationcoords>
32 4753 aaronmk
                    <latitude_deg>
33 4621 aaronmk
                        <_nullIf>
34
                            <null>0</null>
35
                            <type>float</type>
36
                            <value>$decimalLatitude</value>
37
                        </_nullIf>
38 4753 aaronmk
                    </latitude_deg>
39
                    <longitude_deg>
40 4621 aaronmk
                        <_nullIf>
41
                            <null>0</null>
42
                            <type>float</type>
43
                            <value>$decimalLongitude</value>
44
                        </_nullIf>
45 4753 aaronmk
                    </longitude_deg>
46 4726 aaronmk
                </locationcoords>
47 4621 aaronmk
                <locationevent>
48
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
49
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
50
                    <taxonoccurrence>
51
                        <aggregateoccurrence>
52
                            <plantobservation>
53
                                <collectionnumber>$recordNumber</collectionnumber>
54
                                <specimenreplicate>
55
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
56
                                    <collectioncode_dwc>
57
                                        <_join>
58
                                            <1>$collectionCode</1>
59
                                            <2>$collectionID</2>
60
                                        </_join>
61
                                    </collectioncode_dwc>
62
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
63
                                    <sourceaccessioncode>$id</sourceaccessioncode>
64
                                </specimenreplicate>
65
                            </plantobservation>
66
                        </aggregateoccurrence>
67 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
68 4621 aaronmk
                        <taxondetermination>
69 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
70 5225 aaronmk
                            <taxonconcept_id>
71
                                <taxonconcept>
72 5465 aaronmk
                                    <matched_concept_id>
73 5225 aaronmk
                                        <taxonconcept>
74 5242 aaronmk
                                            <creator_id>
75 5237 aaronmk
                                                <party>
76 5242 aaronmk
                                                    <creator_id>0</creator_id>
77 5237 aaronmk
                                                    <organizationname>TNRS</organizationname>
78
                                                </party>
79 5242 aaronmk
                                            </creator_id>
80 5138 aaronmk
                                            <identifyingtaxonomicname>
81
                                                <_alt>
82
                                                    <1>$scientificName</1>
83
                                                    <2>
84
                                                        <_join_words>
85
                                                            <1>
86
                                                                <_join_words>
87
                                                                    <1>$family</1>
88
                                                                    <2>$genus</2>
89
                                                                    <3>$specificEpithet</3>
90
                                                                    <5>
91
                                                                        <_join_words>
92
                                                                            <1>
93
                                                                                <_if name="if has infraspecificEpithet">
94
                                                                                    <cond>$infraspecificEpithet</cond>
95
                                                                                    <then>$taxonRank</then>
96
                                                                                </_if>
97
                                                                            </1>
98
                                                                            <2>$infraspecificEpithet</2>
99
                                                                        </_join_words>
100
                                                                    </5>
101
                                                                </_join_words>
102
                                                            </1>
103
                                                            <2>$scientificNameAuthorship</2>
104
                                                        </_join_words>
105
                                                    </2>
106
                                                </_alt>
107
                                            </identifyingtaxonomicname>
108 5225 aaronmk
                                        </taxonconcept>
109 5465 aaronmk
                                    </matched_concept_id>
110 4944 aaronmk
                                    <author>$scientificNameAuthorship</author>
111 5241 aaronmk
                                    <creator_id>
112 5240 aaronmk
                                        <_simplifyPath>
113 5242 aaronmk
                                            <next>creator_id</next>
114 5600 aaronmk
                                            <path><party><fullname>$identifiedBy</fullname></party></path>
115 5240 aaronmk
                                        </_simplifyPath>
116 5241 aaronmk
                                    </creator_id>
117 4703 aaronmk
                                    <family>$family</family>
118
                                    <genus>$genus</genus>
119 5294 aaronmk
                                    <parent_id>
120
                                        <taxonconcept>
121 5487 aaronmk
                                            <rank>$taxonRank</rank>
122
                                            <verbatimrank>$taxonRank</verbatimrank>
123 5294 aaronmk
                                            <parent_id>
124
                                                <taxonconcept>
125 5306 aaronmk
                                                    <rank>cultivar</rank>
126 5294 aaronmk
                                                    <parent_id>
127
                                                        <taxonconcept>
128 5306 aaronmk
                                                            <rank>forma</rank>
129 5294 aaronmk
                                                            <parent_id>
130
                                                                <taxonconcept>
131 5306 aaronmk
                                                                    <rank>variety</rank>
132 5294 aaronmk
                                                                    <parent_id>
133
                                                                        <taxonconcept>
134 5306 aaronmk
                                                                            <rank>subspecies</rank>
135 5294 aaronmk
                                                                            <parent_id>
136
                                                                                <taxonconcept>
137 5306 aaronmk
                                                                                    <rank>species</rank>
138 5596 aaronmk
                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
139 5294 aaronmk
                                                                                    <parent_id>
140
                                                                                        <taxonconcept>
141 5306 aaronmk
                                                                                            <rank>genus</rank>
142 5596 aaronmk
                                                                                            <taxonepithet>$genus</taxonepithet>
143 5294 aaronmk
                                                                                            <parent_id>
144
                                                                                                <taxonconcept>
145 5306 aaronmk
                                                                                                    <rank>family</rank>
146 5596 aaronmk
                                                                                                    <taxonepithet>$family</taxonepithet>
147 5294 aaronmk
                                                                                                    <parent_id>
148
                                                                                                        <taxonconcept>
149 5306 aaronmk
                                                                                                            <rank>order</rank>
150 5596 aaronmk
                                                                                                            <taxonepithet>$order</taxonepithet>
151 5294 aaronmk
                                                                                                            <parent_id>
152
                                                                                                                <taxonconcept>
153 5306 aaronmk
                                                                                                                    <rank>class</rank>
154 5596 aaronmk
                                                                                                                    <taxonepithet>$class</taxonepithet>
155 5294 aaronmk
                                                                                                                    <parent_id>
156
                                                                                                                        <taxonconcept>
157 5306 aaronmk
                                                                                                                            <rank>phylum</rank>
158 5596 aaronmk
                                                                                                                            <taxonepithet>$phylum</taxonepithet>
159 5306 aaronmk
                                                                                                                            <parent_id>
160
                                                                                                                                <taxonconcept>
161
                                                                                                                                    <rank>kingdom</rank>
162 5596 aaronmk
                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
163 5306 aaronmk
                                                                                                                                </taxonconcept>
164
                                                                                                                            </parent_id>
165 5294 aaronmk
                                                                                                                        </taxonconcept>
166
                                                                                                                    </parent_id>
167
                                                                                                                </taxonconcept>
168
                                                                                                            </parent_id>
169
                                                                                                        </taxonconcept>
170
                                                                                                    </parent_id>
171
                                                                                                </taxonconcept>
172
                                                                                            </parent_id>
173
                                                                                        </taxonconcept>
174
                                                                                    </parent_id>
175
                                                                                </taxonconcept>
176
                                                                            </parent_id>
177
                                                                        </taxonconcept>
178
                                                                    </parent_id>
179
                                                                </taxonconcept>
180
                                                            </parent_id>
181
                                                        </taxonconcept>
182
                                                    </parent_id>
183
                                                </taxonconcept>
184
                                            </parent_id>
185 5596 aaronmk
                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
186 5294 aaronmk
                                        </taxonconcept>
187
                                    </parent_id>
188 5264 aaronmk
                                    <rank>$taxonRank</rank>
189 5137 aaronmk
                                    <species>$specificEpithet</species>
190
                                    <taxonomicnamewithauthor>$scientificName</taxonomicnamewithauthor>
191 5252 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
192 5314 aaronmk
                                    <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
193 5225 aaronmk
                                </taxonconcept>
194
                            </taxonconcept_id>
195 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
196
                        </taxondetermination>
197
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
198
                    </taxonoccurrence>
199
                </locationevent>
200
                <locationnarrative>
201
                    <_merge>
202
                        <1>$locality</1>
203
                        <3>
204
                            <_label>
205
                                <label>habitat</label>
206
                                <value>$habitat</value>
207
                            </_label>
208
                        </3>
209
                    </_merge>
210
                </locationnarrative>
211 4726 aaronmk
                <locationplace>
212 4727 aaronmk
                    <placepath_id>
213
                        <placepath>
214
                            <continent>$continent</continent>
215
                            <country>$country</country>
216
                            <county>$county</county>
217
                            <stateprovince>$stateProvince</stateprovince>
218
                        </placepath>
219
                    </placepath_id>
220 4726 aaronmk
                </locationplace>
221 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
222 4621 aaronmk
            </location>
223
        </path>
224
    </_simplifyPath>
225 3641 aaronmk
</VegBIEN>
226 5306 aaronmk
Inserted 35 new rows into database