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>
25
                    <_replace>
26
                        <\bca\.?></\bca\.?>
27
                        <value>$verbatimElevation</value>
28
                    </_replace>
29
                </elevation>
30
                <locationdetermination>
31
                    <latitude>
32
                        <_nullIf>
33
                            <null>0</null>
34
                            <type>float</type>
35
                            <value>$decimalLatitude</value>
36
                        </_nullIf>
37
                    </latitude>
38
                    <longitude>
39
                        <_nullIf>
40
                            <null>0</null>
41
                            <type>float</type>
42
                            <value>$decimalLongitude</value>
43
                        </_nullIf>
44
                    </longitude>
45
                    <namedplace_id>
46
                        <namedplace>
47
                            <rank>county</rank>
48
                            <placename>$county</placename>
49
                            <parent_id>
50
                                <namedplace>
51
                                    <rank>stateProvince</rank>
52
                                    <placename>$stateProvince</placename>
53
                                    <parent_id>
54
                                        <namedplace>
55
                                            <rank>country</rank>
56
                                            <placename>$country</placename>
57
                                            <parent_id>
58
                                                <namedplace>
59
                                                    <rank>continent</rank>
60
                                                    <placename>$continent</placename>
61
                                                </namedplace>
62
                                            </parent_id>
63
                                        </namedplace>
64
                                    </parent_id>
65
                                </namedplace>
66
                            </parent_id>
67
                        </namedplace>
68
                    </namedplace_id>
69
                </locationdetermination>
70
                <locationevent>
71
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
72
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
73
                    <taxonoccurrence>
74
                        <aggregateoccurrence>
75
                            <plantobservation>
76
                                <collectionnumber>$recordNumber</collectionnumber>
77
                                <specimenreplicate>
78
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
79
                                    <collectioncode_dwc>
80
                                        <_join>
81
                                            <1>$collectionCode</1>
82
                                            <2>$collectionID</2>
83
                                        </_join>
84
                                    </collectioncode_dwc>
85
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
86
                                    <sourceaccessioncode>$id</sourceaccessioncode>
87
                                </specimenreplicate>
88
                            </plantobservation>
89
                        </aggregateoccurrence>
90
                        <authortaxoncode>
91
                            <_alt>
92
                                <1>$recordNumber</1>
93
                                <2>$scientificName</2>
94
                            </_alt>
95
                        </authortaxoncode>
96
                        <taxondetermination>
97
                            <party_id>
98
                                <party>
99
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
100
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
101
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
102
                                </party>
103
                            </party_id>
104
                            <plantconcept_id>
105
                                <plantconcept>
106
                                    <class>$class</class>
107
                                    <family>$family</family>
108
                                    <genus>$genus</genus>
109
                                    <kingdom>$kingdom</kingdom>
110
                                    <order>$order</order>
111
                                    <phylum>$phylum</phylum>
112
                                    <scientificname>$scientificName</scientificname>
113
                                    <scientificnameauthor>$scientificNameAuthorship</scientificnameauthor>
114
                                    <species>$specificEpithet</species>
115
                                    <subspecies>
116
                                        <_name>
117
                                            <first>$taxonRank</first>
118
                                            <last>$infraspecificEpithet</last>
119
                                        </_name>
120
                                    </subspecies>
121
                                </plantconcept>
122
                            </plantconcept_id>
123
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
124
                        </taxondetermination>
125
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
126
                    </taxonoccurrence>
127
                </locationevent>
128
                <locationnarrative>
129
                    <_merge>
130
                        <1>$locality</1>
131
                        <3>
132
                            <_label>
133
                                <label>habitat</label>
134
                                <value>$habitat</value>
135
                            </_label>
136
                        </3>
137
                    </_merge>
138
                </locationnarrative>
139
            </location>
140
        </path>
141
    </_simplifyPath>
142
</VegBIEN>
143
Inserted 26 new rows into database
(4-4/4)