Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4 4003 aaronmk
        <authorlocationcode>
5 4066 aaronmk
            <_alt>
6 4336 aaronmk
                <1>$Accession Number</1>
7
                <2>
8 4327 aaronmk
                    <_join>
9 4066 aaronmk
                        <2>$SeriesName</2>
10 4078 aaronmk
                        <3>$Barcode</3>
11 4327 aaronmk
                    </_join>
12 4336 aaronmk
                </2>
13 4066 aaronmk
            </_alt>
14 4003 aaronmk
        </authorlocationcode>
15 3996 aaronmk
        <elevation>
16 4043 aaronmk
            <_replace>
17
                <\bca\.?></\bca\.?>
18
                <value>$Elevation</value>
19
            </_replace>
20 3996 aaronmk
        </elevation>
21 3786 aaronmk
        <locationdetermination>
22 4043 aaronmk
            <coordsaccuracy><_noCV><value>$Accuracy</value></_noCV></coordsaccuracy>
23 3786 aaronmk
            <latitude>
24 4043 aaronmk
                <_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 3786 aaronmk
            </latitude>
35
            <longitude>
36 4043 aaronmk
                <_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 3786 aaronmk
            </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 3770 aaronmk
                                        <namedplace>
61 3786 aaronmk
                                            <rank>country</rank>
62
                                            <placename>$Country</placename>
63 3770 aaronmk
                                        </namedplace>
64 3786 aaronmk
                                    </parent_id>
65
                                </namedplace>
66
                            </parent_id>
67
                        </namedplace>
68
                    </path>
69
                </_simplifyPath>
70
            </namedplace_id>
71
        </locationdetermination>
72
        <locationevent>
73 3907 aaronmk
            <taxonoccurrence>
74
                <aggregateoccurrence>
75 4043 aaronmk
                    <collectiondate><_date><date>$Collect Date</date></_date></collectiondate>
76 3907 aaronmk
                    <plantobservation>
77
                        <specimenreplicate>
78 4078 aaronmk
                            <catalognumber_dwc>$Barcode</catalognumber_dwc>
79 4043 aaronmk
                            <collectioncode_dwc>$SeriesName</collectioncode_dwc>
80 3907 aaronmk
                            <sourceaccessioncode>$Accession Number</sourceaccessioncode>
81
                        </specimenreplicate>
82
                    </plantobservation>
83
                </aggregateoccurrence>
84 4079 aaronmk
                <authortaxoncode>$Full Taxon Name</authortaxoncode>
85 4558 aaronmk
                <iscultivated>$Cultivated?</iscultivated>
86 3786 aaronmk
                <taxondetermination>
87
                    <plantconcept_id>
88
                        <plantconcept>
89
                            <plantname_id>
90
                                <_simplifyPath>
91 4226 aaronmk
                                    <next>parent_id</next>
92 3786 aaronmk
                                    <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 3907 aaronmk
            </taxonoccurrence>
104 3786 aaronmk
        </locationevent>
105
    </location>
106 3641 aaronmk
</VegBIEN>
107 3907 aaronmk
Inserted 26 new rows into database