Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_merge>
6
                <2>$SeriesName</2>
7
                <3>$Barcode</3>
8
            </_merge>
9
        </authorlocationcode>
10
        <elevation>
11
            <_alt>
12
                <1>
13
                    <_replace>
14
                        <\bca\.?></\bca\.?>
15
                        <value>$Elevation</value>
16
                    </_replace>
17
                </1>
18
            </_alt>
19
        </elevation>
20
        <locationdetermination>
21
            <coordsaccuracy><_noCV><value><_alt><1>$Accuracy</1></_alt></value></_noCV></coordsaccuracy>
22
            <latitude>
23
                <_alt>
24
                    <2>
25
                        <_nullIf>
26
                            <null>0</null>
27
                            <type>float</type>
28
                            <value>
29
                                <_replace>
30
                                    <\?$></\?$>
31
                                    <value>$Lat (-=S)</value>
32
                                </_replace>
33
                            </value>
34
                        </_nullIf>
35
                    </2>
36
                </_alt>
37
            </latitude>
38
            <longitude>
39
                <_alt>
40
                    <2>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>
45
                                <_replace>
46
                                    <\?$></\?$>
47
                                    <value>$Long (-=W)</value>
48
                                </_replace>
49
                            </value>
50
                        </_nullIf>
51
                    </2>
52
                </_alt>
53
            </longitude>
54
            <namedplace_id>
55
                <_simplifyPath>
56
                    <next>parent_id/namedplace</next>
57
                    <require>placename</require>
58
                    <path>
59
                        <namedplace>
60
                            <rank>county</rank>
61
                            <placename>$County</placename>
62
                            <parent_id>
63
                                <namedplace>
64
                                    <rank>stateProvince</rank>
65
                                    <placename>$State</placename>
66
                                    <parent_id>
67
                                        <namedplace>
68
                                            <rank>country</rank>
69
                                            <placename>$Country</placename>
70
                                        </namedplace>
71
                                    </parent_id>
72
                                </namedplace>
73
                            </parent_id>
74
                        </namedplace>
75
                    </path>
76
                </_simplifyPath>
77
            </namedplace_id>
78
        </locationdetermination>
79
        <locationevent>
80
            <taxonoccurrence>
81
                <aggregateoccurrence>
82
                    <collectiondate><_date><date><_alt><3>$Collect Date</3></_alt></date></_date></collectiondate>
83
                    <plantobservation>
84
                        <sourceaccessioncode>$Accession Number</sourceaccessioncode>
85
                        <specimenreplicate>
86
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$Barcode</catalognumber_dwc></else></_if>
87
                            <collectioncode_dwc><_alt><1>$SeriesName</1></_alt></collectioncode_dwc>
88
                            <sourceaccessioncode>$Accession Number</sourceaccessioncode>
89
                        </specimenreplicate>
90
                    </plantobservation>
91
                </aggregateoccurrence>
92
                <iscultivated>
93
                    <_map>
94
                        <cultivated>t</cultivated>
95
                        <wild>f</wild>
96
                        <*></*>
97
                        <value>
98
                            <_map>
99
                                <Yes>cultivated</Yes>
100
                                <No>wild</No>
101
                                <value>$Cultivated?</value>
102
                            </_map>
103
                        </value>
104
                    </_map>
105
                </iscultivated>
106
                <isnative>
107
                    <_map>
108
                        <native>t</native>
109
                        <exotic>f</exotic>
110
                        <*></*>
111
                        <value>
112
                            <_map>
113
                                <Yes>cultivated</Yes>
114
                                <No>wild</No>
115
                                <value>$Cultivated?</value>
116
                            </_map>
117
                        </value>
118
                    </_map>
119
                </isnative>
120
                <sourceaccessioncode><_alt><1>$Accession Number</1></_alt></sourceaccessioncode>
121
                <taxondetermination>
122
                    <isoriginal>true</isoriginal>
123
                    <role>identifier</role>
124
                    <plantconcept_id>
125
                        <plantconcept>
126
                            <plantname_id>
127
                                <_simplifyPath>
128
                                    <next>parent_id/plantname</next>
129
                                    <require>plantname</require>
130
                                    <path>
131
                                        <plantname>
132
                                            <rank>binomial</rank>
133
                                            <plantname>$Full Taxon Name</plantname>
134
                                        </plantname>
135
                                    </path>
136
                                </_simplifyPath>
137
                            </plantname_id>
138
                        </plantconcept>
139
                    </plantconcept_id>
140
                </taxondetermination>
141
            </taxonoccurrence>
142
        </locationevent>
143
        <sourceaccessioncode><_alt><1>$Accession Number</1></_alt></sourceaccessioncode>
144
    </location>
145
</VegBIEN>
146
Inserted 26 new rows into database
    (1-1/1)