Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4 4003 aaronmk
        <authorlocationcode>
5
            <_merge>
6
                <1>$institutionCode</1>
7
                <2>$collectionCode</2>
8
            </_merge>
9
        </authorlocationcode>
10 3786 aaronmk
        <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 3641 aaronmk
                                        <namedplace>
23 3786 aaronmk
                                            <rank>country</rank>
24 3641 aaronmk
                                            <parent_id>
25
                                                <namedplace>
26 3786 aaronmk
                                                    <rank>continent</rank>
27
                                                    <placename>$continent</placename>
28 3641 aaronmk
                                                </namedplace>
29
                                            </parent_id>
30
                                        </namedplace>
31 3786 aaronmk
                                    </parent_id>
32
                                </namedplace>
33
                            </parent_id>
34
                        </namedplace>
35
                    </path>
36
                </_simplifyPath>
37
            </namedplace_id>
38
        </locationdetermination>
39
        <locationevent>
40 3907 aaronmk
            <taxonoccurrence>
41
                <aggregateoccurrence>
42 3982 aaronmk
                    <count>$individualCount</count>
43 3907 aaronmk
                    <plantobservation>
44 4006 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
45 3907 aaronmk
                        <specimenreplicate>
46 3962 aaronmk
                            <collectioncode_dwc>
47
                                <_alt>
48
                                    <1>$collectionCode</1>
49
                                    <2>$collectionID</2>
50
                                </_alt>
51
                            </collectioncode_dwc>
52 3907 aaronmk
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
53
                            <sourceaccessioncode>$id</sourceaccessioncode>
54
                        </specimenreplicate>
55
                    </plantobservation>
56
                </aggregateoccurrence>
57 3934 aaronmk
                <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 4006 aaronmk
                <sourceaccessioncode><_alt><1>$id</1></_alt></sourceaccessioncode>
74 3786 aaronmk
                <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 3641 aaronmk
                                        <plantname>
85 3786 aaronmk
                                            <rank>binomial</rank>
86 3641 aaronmk
                                            <parent_id>
87
                                                <plantname>
88 3786 aaronmk
                                                    <rank>authority</rank>
89 3641 aaronmk
                                                    <parent_id>
90
                                                        <plantname>
91 3786 aaronmk
                                                            <rank>subspecies</rank>
92 3641 aaronmk
                                                            <parent_id>
93
                                                                <plantname>
94 3786 aaronmk
                                                                    <rank>species</rank>
95 3641 aaronmk
                                                                    <parent_id>
96
                                                                        <plantname>
97 3786 aaronmk
                                                                            <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 3641 aaronmk
                                                                        </plantname>
106
                                                                    </parent_id>
107
                                                                </plantname>
108
                                                            </parent_id>
109
                                                        </plantname>
110
                                                    </parent_id>
111
                                                </plantname>
112
                                            </parent_id>
113
                                        </plantname>
114 3786 aaronmk
                                    </path>
115
                                </_simplifyPath>
116
                            </plantname_id>
117
                        </plantconcept>
118
                    </plantconcept_id>
119
                </taxondetermination>
120 3907 aaronmk
            </taxonoccurrence>
121 3786 aaronmk
        </locationevent>
122
        <locationnarrative><_merge><1>$locality</1></_merge></locationnarrative>
123 4005 aaronmk
        <sourceaccessioncode><_alt><1>$id</1></_alt></sourceaccessioncode>
124 3786 aaronmk
    </location>
125 3641 aaronmk
</VegBIEN>
126 3907 aaronmk
Inserted 22 new rows into database