Project

General

Profile

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