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 4833 aaronmk
                        <authortaxoncode>$recordNumber</authortaxoncode>
68 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
69 4621 aaronmk
                        <taxondetermination>
70
                            <party_id>
71
                                <party>
72
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
73
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
74
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
75
                                </party>
76
                            </party_id>
77 4718 aaronmk
                            <taxonpath_id>
78
                                <taxonpath>
79 4944 aaronmk
                                    <author>$scientificNameAuthorship</author>
80 4703 aaronmk
                                    <class>$class</class>
81
                                    <family>$family</family>
82
                                    <genus>$genus</genus>
83
                                    <kingdom>$kingdom</kingdom>
84
                                    <order>$order</order>
85
                                    <phylum>$phylum</phylum>
86
                                    <species>$specificEpithet</species>
87
                                    <subspecies>
88 5014 aaronmk
                                        <_join_words>
89
                                            <1>$taxonRank</1>
90
                                            <2>$infraspecificEpithet</2>
91
                                        </_join_words>
92 4703 aaronmk
                                    </subspecies>
93 5072 aaronmk
                                    <taxonomicnamewithauthor>
94
                                        <_alt>
95
                                            <1>$scientificName</1>
96
                                            <2>
97
                                                <_join_words>
98
                                                    <1>
99
                                                        <_join_words>
100
                                                            <1>$family</1>
101
                                                            <2>$genus</2>
102
                                                            <3>$specificEpithet</3>
103
                                                            <5>
104
                                                                <_join_words>
105
                                                                    <1>$taxonRank</1>
106
                                                                    <2>$infraspecificEpithet</2>
107
                                                                </_join_words>
108
                                                            </5>
109
                                                        </_join_words>
110
                                                    </1>
111
                                                    <2>$scientificNameAuthorship</2>
112
                                                </_join_words>
113
                                            </2>
114
                                        </_alt>
115
                                    </taxonomicnamewithauthor>
116 4718 aaronmk
                                </taxonpath>
117
                            </taxonpath_id>
118 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
119
                        </taxondetermination>
120
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
121
                    </taxonoccurrence>
122
                </locationevent>
123
                <locationnarrative>
124
                    <_merge>
125
                        <1>$locality</1>
126
                        <3>
127
                            <_label>
128
                                <label>habitat</label>
129
                                <value>$habitat</value>
130
                            </_label>
131
                        </3>
132
                    </_merge>
133
                </locationnarrative>
134 4726 aaronmk
                <locationplace>
135 4727 aaronmk
                    <placepath_id>
136
                        <placepath>
137
                            <continent>$continent</continent>
138
                            <country>$country</country>
139
                            <county>$county</county>
140
                            <stateprovince>$stateProvince</stateprovince>
141
                        </placepath>
142
                    </placepath_id>
143 4726 aaronmk
                </locationplace>
144 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
145 4621 aaronmk
            </location>
146
        </path>
147
    </_simplifyPath>
148 3641 aaronmk
</VegBIEN>
149 4947 aaronmk
Inserted 24 new rows into database