Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <1>$Accession Number</1>
7
                <2>
8
                    <_join>
9
                        <2>$SeriesName</2>
10
                        <3>$Barcode</3>
11
                    </_join>
12
                </2>
13
            </_alt>
14
        </authorlocationcode>
15
        <elevation>
16
            <_replace>
17
                <\bca\.?></\bca\.?>
18
                <value>$Elevation</value>
19
            </_replace>
20
        </elevation>
21
        <locationdetermination>
22
            <coordsaccuracy><_noCV><value>$Accuracy</value></_noCV></coordsaccuracy>
23
            <latitude>
24
                <_nullIf>
25
                    <null>0</null>
26
                    <type>float</type>
27
                    <value>
28
                        <_replace>
29
                            <\?$></\?$>
30
                            <value>$Lat (-=S)</value>
31
                        </_replace>
32
                    </value>
33
                </_nullIf>
34
            </latitude>
35
            <longitude>
36
                <_nullIf>
37
                    <null>0</null>
38
                    <type>float</type>
39
                    <value>
40
                        <_replace>
41
                            <\?$></\?$>
42
                            <value>$Long (-=W)</value>
43
                        </_replace>
44
                    </value>
45
                </_nullIf>
46
            </longitude>
47
            <namedplace_id>
48
                <_simplifyPath>
49
                    <next>parent_id/namedplace</next>
50
                    <require>placename</require>
51
                    <path>
52
                        <namedplace>
53
                            <rank>county</rank>
54
                            <placename>$County</placename>
55
                            <parent_id>
56
                                <namedplace>
57
                                    <rank>stateProvince</rank>
58
                                    <placename>$State</placename>
59
                                    <parent_id>
60
                                        <namedplace>
61
                                            <rank>country</rank>
62
                                            <placename>$Country</placename>
63
                                        </namedplace>
64
                                    </parent_id>
65
                                </namedplace>
66
                            </parent_id>
67
                        </namedplace>
68
                    </path>
69
                </_simplifyPath>
70
            </namedplace_id>
71
        </locationdetermination>
72
        <locationevent>
73
            <taxonoccurrence>
74
                <aggregateoccurrence>
75
                    <collectiondate><_date><date>$Collect Date</date></_date></collectiondate>
76
                    <plantobservation>
77
                        <specimenreplicate>
78
                            <catalognumber_dwc>$Barcode</catalognumber_dwc>
79
                            <collectioncode_dwc>$SeriesName</collectioncode_dwc>
80
                            <sourceaccessioncode>$Accession Number</sourceaccessioncode>
81
                        </specimenreplicate>
82
                    </plantobservation>
83
                </aggregateoccurrence>
84
                <authortaxoncode>$Full Taxon Name</authortaxoncode>
85
                <iscultivated>$Cultivated?</iscultivated>
86
                <taxondetermination>
87
                    <plantconcept_id>
88
                        <plantconcept>
89
                            <plantname_id>
90
                                <_simplifyPath>
91
                                    <next>parent_id</next>
92
                                    <path>
93
                                        <plantname>
94
                                            <rank>binomial</rank>
95
                                            <plantname>$Full Taxon Name</plantname>
96
                                        </plantname>
97
                                    </path>
98
                                </_simplifyPath>
99
                            </plantname_id>
100
                        </plantconcept>
101
                    </plantconcept_id>
102
                </taxondetermination>
103
            </taxonoccurrence>
104
        </locationevent>
105
    </location>
106
</VegBIEN>
107
Inserted 26 new rows into database
(7-7/7)