Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_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 4726 aaronmk
                <locationcoords>
14 4753 aaronmk
                    <latitude_deg>
15 4621 aaronmk
                        <_nullIf>
16
                            <null>0</null>
17
                            <type>float</type>
18
                            <value>$lat_deg</value>
19
                        </_nullIf>
20 4753 aaronmk
                    </latitude_deg>
21
                    <longitude_deg>
22 4621 aaronmk
                        <_nullIf>
23
                            <null>0</null>
24
                            <type>float</type>
25
                            <value>$long_deg</value>
26
                        </_nullIf>
27 4753 aaronmk
                    </longitude_deg>
28 4726 aaronmk
                </locationcoords>
29 4621 aaronmk
                <locationevent>
30
                    <taxonoccurrence>
31
                        <aggregateoccurrence>
32
                            <collectiondate>
33
                                <_date>
34
                                    <day>
35
                                        <_nullIf>
36
                                            <null>0</null>
37
                                            <type>float</type>
38
                                            <value>$coll_day</value>
39
                                        </_nullIf>
40
                                    </day>
41
                                    <month>
42
                                        <_nullIf>
43
                                            <null>0</null>
44
                                            <type>float</type>
45
                                            <value>$coll_month</value>
46
                                        </_nullIf>
47
                                    </month>
48
                                    <year>
49
                                        <_nullIf>
50
                                            <null>0</null>
51
                                            <type>float</type>
52
                                            <value>$coll_year</value>
53
                                        </_nullIf>
54
                                    </year>
55
                                </_date>
56
                            </collectiondate>
57
                            <plantobservation>
58
                                <specimenreplicate>
59
                                    <collectioncode_dwc>$acronym</collectioncode_dwc>
60
                                    <sourceaccessioncode>$accession_number</sourceaccessioncode>
61
                                </specimenreplicate>
62
                            </plantobservation>
63
                        </aggregateoccurrence>
64 4834 aaronmk
                        <sourceaccessioncode>$accession_number</sourceaccessioncode>
65 4621 aaronmk
                        <taxondetermination>
66 4718 aaronmk
                            <taxonpath_id>
67
                                <taxonpath>
68 4703 aaronmk
                                    <family>$family</family>
69
                                    <genus>$genus</genus>
70
                                    <species>$specificEpithet</species>
71 4718 aaronmk
                                </taxonpath>
72
                            </taxonpath_id>
73 4621 aaronmk
                        </taxondetermination>
74
                        <verbatimcollectorname>$collector</verbatimcollectorname>
75
                    </taxonoccurrence>
76
                </locationevent>
77
                <locationnarrative>
78
                    <_merge>
79
                        <1>$locality</1>
80
                        <3>
81
                            <_label>
82
                                <label>habitat</label>
83
                                <value>$habitat</value>
84
                            </_label>
85
                        </3>
86
                    </_merge>
87
                </locationnarrative>
88 4726 aaronmk
                <locationplace>
89 4727 aaronmk
                    <placepath_id>
90
                        <placepath>
91
                            <country>$country</country>
92
                            <county>$county</county>
93
                            <stateprovince>$state</stateprovince>
94
                        </placepath>
95
                    </placepath_id>
96 4726 aaronmk
                </locationplace>
97 4621 aaronmk
            </location>
98
        </path>
99
    </_simplifyPath>
100 3641 aaronmk
</VegBIEN>
101 4727 aaronmk
Inserted 22 new rows into database