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