Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_merge>
6
                <1>$institutionCode</1>
7
                <2>
8
                    <_merge>
9
                        <1>$collectionCode</1>
10
                        <2>$collectionID</2>
11
                    </_merge>
12
                </2>
13
            </_merge>
14
        </authorlocationcode>
15
        <locationdetermination>
16
            <namedplace_id>
17
                <_simplifyPath>
18
                    <next>parent_id/namedplace</next>
19
                    <require>placename</require>
20
                    <path>
21
                        <namedplace>
22
                            <rank>county</rank>
23
                            <parent_id>
24
                                <namedplace>
25
                                    <rank>stateProvince</rank>
26
                                    <parent_id>
27
                                        <namedplace>
28
                                            <rank>country</rank>
29
                                            <parent_id>
30
                                                <namedplace>
31
                                                    <rank>continent</rank>
32
                                                    <placename>$continent</placename>
33
                                                </namedplace>
34
                                            </parent_id>
35
                                        </namedplace>
36
                                    </parent_id>
37
                                </namedplace>
38
                            </parent_id>
39
                        </namedplace>
40
                    </path>
41
                </_simplifyPath>
42
            </namedplace_id>
43
        </locationdetermination>
44
        <locationevent>
45
            <taxonoccurrence>
46
                <aggregateoccurrence>
47
                    <count>$individualCount</count>
48
                    <plantobservation>
49
                        <sourceaccessioncode>$id</sourceaccessioncode>
50
                        <specimenreplicate>
51
                            <collectioncode_dwc>
52
                                <_merge>
53
                                    <1>$collectionCode</1>
54
                                    <2>$collectionID</2>
55
                                </_merge>
56
                            </collectioncode_dwc>
57
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
58
                            <sourceaccessioncode>$id</sourceaccessioncode>
59
                        </specimenreplicate>
60
                    </plantobservation>
61
                </aggregateoccurrence>
62
                <iscultivated>
63
                    <_map>
64
                        <cultivated>t</cultivated>
65
                        <wild>f</wild>
66
                        <*></*>
67
                        <value>$establishmentMeans</value>
68
                    </_map>
69
                </iscultivated>
70
                <isnative>
71
                    <_map>
72
                        <native>t</native>
73
                        <exotic>f</exotic>
74
                        <*></*>
75
                        <value>$establishmentMeans</value>
76
                    </_map>
77
                </isnative>
78
                <sourceaccessioncode>$id</sourceaccessioncode>
79
                <taxondetermination>
80
                    <isoriginal>true</isoriginal>
81
                    <role>identifier</role>
82
                    <plantconcept_id>
83
                        <plantconcept>
84
                            <plantname_id>
85
                                <_simplifyPath>
86
                                    <next>parent_id/plantname</next>
87
                                    <require>plantname</require>
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
        <sourceaccessioncode>$id</sourceaccessioncode>
129
    </location>
130
</VegBIEN>
131
Inserted 22 new rows into database
    (1-1/1)