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
                    <_join>
9
                        <1>$InstitutionCode</1>
10
                        <2>$CollectionCode</2>
11
                        <3>$CatalogNumber</3>
12
                    </_join>
13
                </authorlocationcode>
14 4753 aaronmk
                <elevation_m>
15 4621 aaronmk
                    <_avg>
16 4820 aaronmk
                        <max>$MaximumElevation</max>
17 4822 aaronmk
                        <min>$MinimumElevation</min>
18 4621 aaronmk
                    </_avg>
19 4753 aaronmk
                </elevation_m>
20 4726 aaronmk
                <locationcoords>
21 4753 aaronmk
                    <latitude_deg>
22 4621 aaronmk
                        <_nullIf>
23
                            <null>0</null>
24
                            <type>float</type>
25
                            <value>$latitude</value>
26
                        </_nullIf>
27 4753 aaronmk
                    </latitude_deg>
28
                    <longitude_deg>
29 4621 aaronmk
                        <_nullIf>
30
                            <null>0</null>
31
                            <type>float</type>
32
                            <value>$longitude</value>
33
                        </_nullIf>
34 4753 aaronmk
                    </longitude_deg>
35 4726 aaronmk
                </locationcoords>
36 4621 aaronmk
                <locationevent>
37
                    <taxonoccurrence>
38
                        <aggregateoccurrence>
39
                            <collectiondate>
40
                                <_date>
41
                                    <day>
42
                                        <_nullIf>
43
                                            <null>0</null>
44
                                            <type>float</type>
45
                                            <value>$DayCollected</value>
46
                                        </_nullIf>
47
                                    </day>
48
                                    <month>
49
                                        <_nullIf>
50
                                            <null>0</null>
51
                                            <type>float</type>
52
                                            <value>$MonthCollected</value>
53
                                        </_nullIf>
54
                                    </month>
55
                                    <year>
56
                                        <_nullIf>
57
                                            <null>0</null>
58
                                            <type>float</type>
59
                                            <value>$YearCollected</value>
60
                                        </_nullIf>
61
                                    </year>
62
                                </_date>
63
                            </collectiondate>
64
                            <count>$IndividualCount</count>
65
                            <notes>
66
                                <_alt>
67
                                    <0>$convertednotes</0>
68
                                    <1>$notes</1>
69
                                </_alt>
70
                            </notes>
71
                            <plantobservation>
72
                                <collectionnumber>$CollectorNumber</collectionnumber>
73
                                <specimenreplicate>
74
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
75
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
76
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
77
                                </specimenreplicate>
78
                            </plantobservation>
79
                        </aggregateoccurrence>
80
                        <taxondetermination>
81
                            <party_id>
82
                                <party>
83
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
84
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
85
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
86
                                </party>
87
                            </party_id>
88 5225 aaronmk
                            <taxonconcept_id>
89
                                <taxonconcept>
90
                                    <canon_taxonconcept_id>
91
                                        <taxonconcept>
92 5237 aaronmk
                                            <datasource_id>
93
                                                <party>
94
                                                    <datasource_id>0</datasource_id>
95
                                                    <organizationname>TNRS</organizationname>
96
                                                </party>
97
                                            </datasource_id>
98 5138 aaronmk
                                            <identifyingtaxonomicname>
99
                                                <_join_words>
100
                                                    <1>
101
                                                        <_alt>
102
                                                            <1>$ScientificName</1>
103
                                                            <2>
104
                                                                <_join_words>
105
                                                                    <1>$family</1>
106
                                                                    <2>$genus</2>
107
                                                                    <3>$species</3>
108
                                                                    <4>$Subspecies</4>
109
                                                                </_join_words>
110
                                                            </2>
111
                                                        </_alt>
112
                                                    </1>
113
                                                    <2>$ScientificNameAuthor</2>
114
                                                </_join_words>
115
                                            </identifyingtaxonomicname>
116 5225 aaronmk
                                        </taxonconcept>
117
                                    </canon_taxonconcept_id>
118 4944 aaronmk
                                    <author>$ScientificNameAuthor</author>
119 5241 aaronmk
                                    <creator_id>
120 5240 aaronmk
                                        <_simplifyPath>
121
                                            <next>datasource_id</next>
122
                                            <path>
123
                                                <party>
124
                                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
125
                                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
126
                                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
127
                                                </party>
128
                                            </path>
129
                                        </_simplifyPath>
130 5241 aaronmk
                                    </creator_id>
131 4703 aaronmk
                                    <family>$family</family>
132
                                    <genus>$genus</genus>
133 5137 aaronmk
                                    <kingdom>$Kingdom</kingdom>
134
                                    <species>$species</species>
135
                                    <subspecies>$Subspecies</subspecies>
136
                                    <taxonomicname>$ScientificName</taxonomicname>
137 5225 aaronmk
                                </taxonconcept>
138
                            </taxonconcept_id>
139 4621 aaronmk
                        </taxondetermination>
140
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
141
                    </taxonoccurrence>
142
                </locationevent>
143
                <locationnarrative>$Locality</locationnarrative>
144 4726 aaronmk
                <locationplace>
145 4727 aaronmk
                    <placepath_id>
146
                        <placepath>
147
                            <continent>$ContinentOcean</continent>
148
                            <country>$Country</country>
149
                            <county>$County</county>
150
                            <stateprovince>$StateProvince</stateprovince>
151
                        </placepath>
152
                    </placepath_id>
153 4726 aaronmk
                </locationplace>
154 4621 aaronmk
            </location>
155
        </path>
156
    </_simplifyPath>
157 3641 aaronmk
</VegBIEN>
158 5138 aaronmk
Inserted 26 new rows into database