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
                            <taxonpath_id>
84
                                <taxonpath>
85
                                    <family>$family</family>
86
                                    <genus>$genus</genus>
87
                                    <species>$specificEpithet</species>
88
                                </taxonpath>
89
                            </taxonpath_id>
90
                        </taxondetermination>
91
                        <verbatimcollectorname>$collector</verbatimcollectorname>
92
                    </taxonoccurrence>
93
                </locationevent>
94
                <locationnarrative>
95
                    <_merge>
96
                        <1>$locality</1>
97
                        <3>
98
                            <_label>
99
                                <label>habitat</label>
100
                                <value>$habitat</value>
101
                            </_label>
102
                        </3>
103
                    </_merge>
104
                </locationnarrative>
105
            </location>
106
        </path>
107
    </_simplifyPath>
108
</VegBIEN>
109
Inserted 23 new rows into database
(6-6/7)