Project

General

Profile

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