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
                        <namedplace>
30
                            <rank>county</rank>
31
                            <placename>$county</placename>
32
                            <parent_id>
33
                                <namedplace>
34
                                    <rank>stateProvince</rank>
35
                                    <placename>$state</placename>
36
                                    <parent_id>
37
                                        <namedplace>
38
                                            <rank>country</rank>
39
                                            <placename>$country</placename>
40
                                        </namedplace>
41
                                    </parent_id>
42
                                </namedplace>
43
                            </parent_id>
44
                        </namedplace>
45
                    </namedplace_id>
46
                </locationdetermination>
47
                <locationevent>
48
                    <taxonoccurrence>
49
                        <aggregateoccurrence>
50
                            <collectiondate>
51
                                <_date>
52
                                    <day>
53
                                        <_nullIf>
54
                                            <null>0</null>
55
                                            <type>float</type>
56
                                            <value>$coll_day</value>
57
                                        </_nullIf>
58
                                    </day>
59
                                    <month>
60
                                        <_nullIf>
61
                                            <null>0</null>
62
                                            <type>float</type>
63
                                            <value>$coll_month</value>
64
                                        </_nullIf>
65
                                    </month>
66
                                    <year>
67
                                        <_nullIf>
68
                                            <null>0</null>
69
                                            <type>float</type>
70
                                            <value>$coll_year</value>
71
                                        </_nullIf>
72
                                    </year>
73
                                </_date>
74
                            </collectiondate>
75
                            <plantobservation>
76
                                <specimenreplicate>
77
                                    <collectioncode_dwc>$acronym</collectioncode_dwc>
78
                                    <sourceaccessioncode>$accession_number</sourceaccessioncode>
79
                                </specimenreplicate>
80
                            </plantobservation>
81
                        </aggregateoccurrence>
82
                        <taxondetermination>
83
                            <plantconcept_id>
84
                                <plantconcept>
85
                                    <plantname_id>
86
                                        <plantname>
87
                                            <rank>binomial</rank>
88
                                            <parent_id>
89
                                                <plantname>
90
                                                    <rank>authority</rank>
91
                                                    <parent_id>
92
                                                        <plantname>
93
                                                            <rank>subspecies</rank>
94
                                                            <parent_id>
95
                                                                <plantname>
96
                                                                    <rank>species</rank>
97
                                                                    <plantname>$specificEpithet</plantname>
98
                                                                    <parent_id>
99
                                                                        <plantname>
100
                                                                            <rank>genus</rank>
101
                                                                            <plantname>$genus</plantname>
102
                                                                            <parent_id>
103
                                                                                <plantname>
104
                                                                                    <rank>family</rank>
105
                                                                                    <plantname>$family</plantname>
106
                                                                                </plantname>
107
                                                                            </parent_id>
108
                                                                        </plantname>
109
                                                                    </parent_id>
110
                                                                </plantname>
111
                                                            </parent_id>
112
                                                        </plantname>
113
                                                    </parent_id>
114
                                                </plantname>
115
                                            </parent_id>
116
                                        </plantname>
117
                                    </plantname_id>
118
                                </plantconcept>
119
                            </plantconcept_id>
120
                        </taxondetermination>
121
                        <verbatimcollectorname>$collector</verbatimcollectorname>
122
                    </taxonoccurrence>
123
                </locationevent>
124
                <locationnarrative>
125
                    <_merge>
126
                        <1>$locality</1>
127
                        <3>
128
                            <_label>
129
                                <label>habitat</label>
130
                                <value>$habitat</value>
131
                            </_label>
132
                        </3>
133
                    </_merge>
134
                </locationnarrative>
135
            </location>
136
        </path>
137
    </_simplifyPath>
138
</VegBIEN>
139
Inserted 26 new rows into database
(6-6/7)