Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <3>$id</3>
7
                <4>
8
                    <_merge>
9
                        <1>$institutionCode</1>
10
                        <2>
11
                            <_merge>
12
                                <1>$collectionCode</1>
13
                                <2>$collectionID</2>
14
                            </_merge>
15
                        </2>
16
                    </_merge>
17
                </4>
18
            </_alt>
19
        </authorlocationcode>
20
        <locationdetermination>
21
            <namedplace_id>
22
                <_simplifyPath>
23
                    <next>parent_id/namedplace</next>
24
                    <require>placename</require>
25
                    <path>
26
                        <namedplace>
27
                            <rank>county</rank>
28
                            <parent_id>
29
                                <namedplace>
30
                                    <rank>stateProvince</rank>
31
                                    <parent_id>
32
                                        <namedplace>
33
                                            <rank>country</rank>
34
                                            <parent_id>
35
                                                <namedplace>
36
                                                    <rank>continent</rank>
37
                                                    <placename>$continent</placename>
38
                                                </namedplace>
39
                                            </parent_id>
40
                                        </namedplace>
41
                                    </parent_id>
42
                                </namedplace>
43
                            </parent_id>
44
                        </namedplace>
45
                    </path>
46
                </_simplifyPath>
47
            </namedplace_id>
48
        </locationdetermination>
49
        <locationevent>
50
            <taxonoccurrence>
51
                <aggregateoccurrence>
52
                    <count>$individualCount</count>
53
                    <plantobservation>
54
                        <specimenreplicate>
55
                            <collectioncode_dwc>
56
                                <_merge>
57
                                    <1>$collectionCode</1>
58
                                    <2>$collectionID</2>
59
                                </_merge>
60
                            </collectioncode_dwc>
61
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
62
                            <sourceaccessioncode>$id</sourceaccessioncode>
63
                        </specimenreplicate>
64
                    </plantobservation>
65
                </aggregateoccurrence>
66
                <iscultivated>
67
                    <_map>
68
                        <cultivated>t</cultivated>
69
                        <wild>f</wild>
70
                        <*></*>
71
                        <value>$establishmentMeans</value>
72
                    </_map>
73
                </iscultivated>
74
                <isnative>
75
                    <_map>
76
                        <native>t</native>
77
                        <exotic>f</exotic>
78
                        <*></*>
79
                        <value>$establishmentMeans</value>
80
                    </_map>
81
                </isnative>
82
                <taxondetermination>
83
                    <plantconcept_id>
84
                        <plantconcept>
85
                            <plantname_id>
86
                                <_simplifyPath>
87
                                    <next>parent_id</next>
88
                                    <path>
89
                                        <plantname>
90
                                            <rank>binomial</rank>
91
                                            <parent_id>
92
                                                <plantname>
93
                                                    <rank>authority</rank>
94
                                                    <parent_id>
95
                                                        <plantname>
96
                                                            <rank>subspecies</rank>
97
                                                            <parent_id>
98
                                                                <plantname>
99
                                                                    <rank>species</rank>
100
                                                                    <parent_id>
101
                                                                        <plantname>
102
                                                                            <rank>genus</rank>
103
                                                                            <plantname>$genus</plantname>
104
                                                                            <parent_id>
105
                                                                                <plantname>
106
                                                                                    <rank>family</rank>
107
                                                                                    <plantname>$family</plantname>
108
                                                                                </plantname>
109
                                                                            </parent_id>
110
                                                                        </plantname>
111
                                                                    </parent_id>
112
                                                                </plantname>
113
                                                            </parent_id>
114
                                                        </plantname>
115
                                                    </parent_id>
116
                                                </plantname>
117
                                            </parent_id>
118
                                        </plantname>
119
                                    </path>
120
                                </_simplifyPath>
121
                            </plantname_id>
122
                        </plantconcept>
123
                    </plantconcept_id>
124
                </taxondetermination>
125
            </taxonoccurrence>
126
        </locationevent>
127
        <locationnarrative>$locality</locationnarrative>
128
    </location>
129
</VegBIEN>
130
Inserted 22 new rows into database
(7-7/7)