Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <1>$accession_number</1>
7
                <2>$acronym</2>
8
            </_alt>
9
        </authorlocationcode>
10
        <locationdetermination>
11
            <latitude>
12
                <_nullIf>
13
                    <null>0</null>
14
                    <type>float</type>
15
                    <value>$lat_deg</value>
16
                </_nullIf>
17
            </latitude>
18
            <longitude>
19
                <_nullIf>
20
                    <null>0</null>
21
                    <type>float</type>
22
                    <value>$long_deg</value>
23
                </_nullIf>
24
            </longitude>
25
            <namedplace_id>
26
                <_simplifyPath>
27
                    <next>parent_id/namedplace</next>
28
                    <require>placename</require>
29
                    <path>
30
                        <namedplace>
31
                            <rank>county</rank>
32
                            <placename>$county</placename>
33
                            <parent_id>
34
                                <namedplace>
35
                                    <rank>stateProvince</rank>
36
                                    <placename>$state</placename>
37
                                    <parent_id>
38
                                        <namedplace>
39
                                            <rank>country</rank>
40
                                            <placename>$country</placename>
41
                                        </namedplace>
42
                                    </parent_id>
43
                                </namedplace>
44
                            </parent_id>
45
                        </namedplace>
46
                    </path>
47
                </_simplifyPath>
48
            </namedplace_id>
49
        </locationdetermination>
50
        <locationevent>
51
            <taxonoccurrence>
52
                <aggregateoccurrence>
53
                    <collectiondate>
54
                        <_date>
55
                            <date>
56
                                <_date>
57
                                    <day>
58
                                        <_nullIf>
59
                                            <null>0</null>
60
                                            <type>float</type>
61
                                            <value>$coll_day</value>
62
                                        </_nullIf>
63
                                    </day>
64
                                    <month>
65
                                        <_nullIf>
66
                                            <null>0</null>
67
                                            <type>float</type>
68
                                            <value>$coll_month</value>
69
                                        </_nullIf>
70
                                    </month>
71
                                    <year>
72
                                        <_nullIf>
73
                                            <null>0</null>
74
                                            <type>float</type>
75
                                            <value>$coll_year</value>
76
                                        </_nullIf>
77
                                    </year>
78
                                </_date>
79
                            </date>
80
                        </_date>
81
                    </collectiondate>
82
                    <plantobservation>
83
                        <specimenreplicate>
84
                            <collectioncode_dwc>$acronym</collectioncode_dwc>
85
                            <sourceaccessioncode>$accession_number</sourceaccessioncode>
86
                        </specimenreplicate>
87
                    </plantobservation>
88
                </aggregateoccurrence>
89
                <taxondetermination>
90
                    <plantconcept_id>
91
                        <plantconcept>
92
                            <plantname_id>
93
                                <_simplifyPath>
94
                                    <next>parent_id</next>
95
                                    <path>
96
                                        <plantname>
97
                                            <rank>binomial</rank>
98
                                            <parent_id>
99
                                                <plantname>
100
                                                    <rank>authority</rank>
101
                                                    <parent_id>
102
                                                        <plantname>
103
                                                            <rank>subspecies</rank>
104
                                                            <parent_id>
105
                                                                <plantname>
106
                                                                    <rank>species</rank>
107
                                                                    <plantname>$specificEpithet</plantname>
108
                                                                    <parent_id>
109
                                                                        <plantname>
110
                                                                            <rank>genus</rank>
111
                                                                            <plantname>$genus</plantname>
112
                                                                            <parent_id>
113
                                                                                <plantname>
114
                                                                                    <rank>family</rank>
115
                                                                                    <plantname>$family</plantname>
116
                                                                                </plantname>
117
                                                                            </parent_id>
118
                                                                        </plantname>
119
                                                                    </parent_id>
120
                                                                </plantname>
121
                                                            </parent_id>
122
                                                        </plantname>
123
                                                    </parent_id>
124
                                                </plantname>
125
                                            </parent_id>
126
                                        </plantname>
127
                                    </path>
128
                                </_simplifyPath>
129
                            </plantname_id>
130
                        </plantconcept>
131
                    </plantconcept_id>
132
                </taxondetermination>
133
                <verbatimcollectorname>$collector</verbatimcollectorname>
134
            </taxonoccurrence>
135
        </locationevent>
136
        <locationnarrative>
137
            <_merge>
138
                <1>$locality</1>
139
                <3>
140
                    <_label>
141
                        <label>habitat</label>
142
                        <value>$habitat</value>
143
                    </_label>
144
                </3>
145
            </_merge>
146
        </locationnarrative>
147
    </location>
148
</VegBIEN>
149
Inserted 26 new rows into database
(8-8/8)