Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10
                        <2>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_replace>
26
                        <\bca\.?></\bca\.?>
27
                        <value>$verbatimElevation</value>
28
                    </_replace>
29
                </elevation_m>
30
                <locationcoords>
31
                    <latitude_deg>
32
                        <_nullIf>
33
                            <null>0</null>
34
                            <type>float</type>
35
                            <value>$decimalLatitude</value>
36
                        </_nullIf>
37
                    </latitude_deg>
38
                    <longitude_deg>
39
                        <_nullIf>
40
                            <null>0</null>
41
                            <type>float</type>
42
                            <value>$decimalLongitude</value>
43
                        </_nullIf>
44
                    </longitude_deg>
45
                </locationcoords>
46
                <locationevent>
47
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
48
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
49
                    <taxonoccurrence>
50
                        <aggregateoccurrence>
51
                            <plantobservation>
52
                                <collectionnumber>$recordNumber</collectionnumber>
53
                                <specimenreplicate>
54
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
55
                                    <collectioncode_dwc>
56
                                        <_join>
57
                                            <1>$collectionCode</1>
58
                                            <2>$collectionID</2>
59
                                        </_join>
60
                                    </collectioncode_dwc>
61
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
62
                                    <sourceaccessioncode>$id</sourceaccessioncode>
63
                                </specimenreplicate>
64
                            </plantobservation>
65
                        </aggregateoccurrence>
66
                        <authortaxoncode>
67
                            <_alt>
68
                                <1>$recordNumber</1>
69
                                <2>$scientificName</2>
70
                            </_alt>
71
                        </authortaxoncode>
72
                        <taxondetermination>
73
                            <party_id>
74
                                <party>
75
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
76
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
77
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
78
                                </party>
79
                            </party_id>
80
                            <taxonpath_id>
81
                                <taxonpath>
82
                                    <class>$class</class>
83
                                    <family>$family</family>
84
                                    <genus>$genus</genus>
85
                                    <kingdom>$kingdom</kingdom>
86
                                    <order>$order</order>
87
                                    <phylum>$phylum</phylum>
88
                                    <scientificname>$scientificName</scientificname>
89
                                    <scientificnameauthor>$scientificNameAuthorship</scientificnameauthor>
90
                                    <species>$specificEpithet</species>
91
                                    <subspecies>
92
                                        <_name>
93
                                            <first>$taxonRank</first>
94
                                            <last>$infraspecificEpithet</last>
95
                                        </_name>
96
                                    </subspecies>
97
                                </taxonpath>
98
                            </taxonpath_id>
99
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
100
                        </taxondetermination>
101
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
102
                    </taxonoccurrence>
103
                </locationevent>
104
                <locationnarrative>
105
                    <_merge>
106
                        <1>$locality</1>
107
                        <3>
108
                            <_label>
109
                                <label>habitat</label>
110
                                <value>$habitat</value>
111
                            </_label>
112
                        </3>
113
                    </_merge>
114
                </locationnarrative>
115
                <locationplace>
116
                    <placepath_id>
117
                        <placepath>
118
                            <continent>$continent</continent>
119
                            <country>$country</country>
120
                            <county>$county</county>
121
                            <stateprovince>$stateProvince</stateprovince>
122
                        </placepath>
123
                    </placepath_id>
124
                </locationplace>
125
            </location>
126
        </path>
127
    </_simplifyPath>
128
</VegBIEN>
129
Inserted 25 new rows into database
(4-4/4)