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
                            <party_id>
70
                                <party>
71
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
72
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
73
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
74
                                </party>
75
                            </party_id>
76 4718 aaronmk
                            <taxonpath_id>
77
                                <taxonpath>
78 5138 aaronmk
                                    <canon_taxonpath_id>
79
                                        <taxonpath>
80
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
81
                                            <identifyingtaxonomicname>
82
                                                <_alt>
83
                                                    <1>$scientificName</1>
84
                                                    <2>
85
                                                        <_join_words>
86
                                                            <1>
87
                                                                <_join_words>
88
                                                                    <1>$family</1>
89
                                                                    <2>$genus</2>
90
                                                                    <3>$specificEpithet</3>
91
                                                                    <5>
92
                                                                        <_join_words>
93
                                                                            <1>
94
                                                                                <_if name="if has infraspecificEpithet">
95
                                                                                    <cond>$infraspecificEpithet</cond>
96
                                                                                    <then>$taxonRank</then>
97
                                                                                </_if>
98
                                                                            </1>
99
                                                                            <2>$infraspecificEpithet</2>
100
                                                                        </_join_words>
101
                                                                    </5>
102
                                                                </_join_words>
103
                                                            </1>
104
                                                            <2>$scientificNameAuthorship</2>
105
                                                        </_join_words>
106
                                                    </2>
107
                                                </_alt>
108
                                            </identifyingtaxonomicname>
109
                                        </taxonpath>
110
                                    </canon_taxonpath_id>
111 4944 aaronmk
                                    <author>$scientificNameAuthorship</author>
112 4703 aaronmk
                                    <class>$class</class>
113
                                    <family>$family</family>
114
                                    <genus>$genus</genus>
115 5137 aaronmk
                                    <kingdom>$kingdom</kingdom>
116
                                    <order>$order</order>
117
                                    <phylum>$phylum</phylum>
118
                                    <species>$specificEpithet</species>
119
                                    <subspecies>
120
                                        <_join_words>
121
                                            <1>
122
                                                <_if name="if has infraspecificEpithet">
123
                                                    <cond>$infraspecificEpithet</cond>
124
                                                    <then>$taxonRank</then>
125
                                                </_if>
126
                                            </1>
127
                                            <2>$infraspecificEpithet</2>
128
                                        </_join_words>
129
                                    </subspecies>
130
                                    <taxonomicnamewithauthor>$scientificName</taxonomicnamewithauthor>
131 4718 aaronmk
                                </taxonpath>
132
                            </taxonpath_id>
133 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
134
                        </taxondetermination>
135
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
136
                    </taxonoccurrence>
137
                </locationevent>
138
                <locationnarrative>
139
                    <_merge>
140
                        <1>$locality</1>
141
                        <3>
142
                            <_label>
143
                                <label>habitat</label>
144
                                <value>$habitat</value>
145
                            </_label>
146
                        </3>
147
                    </_merge>
148
                </locationnarrative>
149 4726 aaronmk
                <locationplace>
150 4727 aaronmk
                    <placepath_id>
151
                        <placepath>
152
                            <continent>$continent</continent>
153
                            <country>$country</country>
154
                            <county>$county</county>
155
                            <stateprovince>$stateProvince</stateprovince>
156
                        </placepath>
157
                    </placepath_id>
158 4726 aaronmk
                </locationplace>
159 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
160 4621 aaronmk
            </location>
161
        </path>
162
    </_simplifyPath>
163 3641 aaronmk
</VegBIEN>
164 5138 aaronmk
Inserted 27 new rows into database