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
                        <sourceaccessioncode>$id</sourceaccessioncode>
55
                        <specimenreplicate>
56
                            <collectioncode_dwc>
57
                                <_merge>
58
                                    <1>$collectionCode</1>
59
                                    <2>$collectionID</2>
60
                                </_merge>
61
                            </collectioncode_dwc>
62
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
63
                            <sourceaccessioncode>$id</sourceaccessioncode>
64
                        </specimenreplicate>
65
                    </plantobservation>
66
                </aggregateoccurrence>
67
                <iscultivated>
68
                    <_map>
69
                        <cultivated>t</cultivated>
70
                        <wild>f</wild>
71
                        <*></*>
72
                        <value>$establishmentMeans</value>
73
                    </_map>
74
                </iscultivated>
75
                <isnative>
76
                    <_map>
77
                        <native>t</native>
78
                        <exotic>f</exotic>
79
                        <*></*>
80
                        <value>$establishmentMeans</value>
81
                    </_map>
82
                </isnative>
83
                <sourceaccessioncode>$id</sourceaccessioncode>
84
                <taxondetermination>
85
                    <isoriginal>true</isoriginal>
86
                    <role>identifier</role>
87
                    <plantconcept_id>
88
                        <plantconcept>
89
                            <plantname_id>
90
                                <_simplifyPath>
91
                                    <next>parent_id/plantname</next>
92
                                    <require>plantname</require>
93
                                    <path>
94
                                        <plantname>
95
                                            <rank>binomial</rank>
96
                                            <parent_id>
97
                                                <plantname>
98
                                                    <rank>authority</rank>
99
                                                    <parent_id>
100
                                                        <plantname>
101
                                                            <rank>subspecies</rank>
102
                                                            <parent_id>
103
                                                                <plantname>
104
                                                                    <rank>species</rank>
105
                                                                    <parent_id>
106
                                                                        <plantname>
107
                                                                            <rank>genus</rank>
108
                                                                            <plantname>$genus</plantname>
109
                                                                            <parent_id>
110
                                                                                <plantname>
111
                                                                                    <rank>family</rank>
112
                                                                                    <plantname>$family</plantname>
113
                                                                                </plantname>
114
                                                                            </parent_id>
115
                                                                        </plantname>
116
                                                                    </parent_id>
117
                                                                </plantname>
118
                                                            </parent_id>
119
                                                        </plantname>
120
                                                    </parent_id>
121
                                                </plantname>
122
                                            </parent_id>
123
                                        </plantname>
124
                                    </path>
125
                                </_simplifyPath>
126
                            </plantname_id>
127
                        </plantconcept>
128
                    </plantconcept_id>
129
                </taxondetermination>
130
            </taxonoccurrence>
131
        </locationevent>
132
        <locationnarrative>$locality</locationnarrative>
133
    </location>
134
</VegBIEN>
135
Inserted 22 new rows into database
    (1-1/1)