Project

General

Profile

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