Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19 4327 aaronmk
                            </_join>
20 4066 aaronmk
                        </2>
21 4621 aaronmk
                    </_alt>
22
                </authorlocationcode>
23
                <locationdetermination>
24
                    <namedplace_id>
25 4622 aaronmk
                        <namedplace>
26
                            <rank>county</rank>
27
                            <parent_id>
28 3786 aaronmk
                                <namedplace>
29 4622 aaronmk
                                    <rank>stateProvince</rank>
30 3786 aaronmk
                                    <parent_id>
31 3641 aaronmk
                                        <namedplace>
32 4622 aaronmk
                                            <rank>country</rank>
33 3641 aaronmk
                                            <parent_id>
34
                                                <namedplace>
35 4622 aaronmk
                                                    <rank>continent</rank>
36
                                                    <placename>$continent</placename>
37 3641 aaronmk
                                                </namedplace>
38
                                            </parent_id>
39
                                        </namedplace>
40 3786 aaronmk
                                    </parent_id>
41
                                </namedplace>
42 4622 aaronmk
                            </parent_id>
43
                        </namedplace>
44 4621 aaronmk
                    </namedplace_id>
45
                </locationdetermination>
46
                <locationevent>
47
                    <taxonoccurrence>
48
                        <aggregateoccurrence>
49
                            <count>$individualCount</count>
50
                            <plantobservation>
51
                                <specimenreplicate>
52
                                    <collectioncode_dwc>
53
                                        <_join>
54
                                            <1>$collectionCode</1>
55
                                            <2>$collectionID</2>
56
                                        </_join>
57
                                    </collectioncode_dwc>
58
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
59
                                    <sourceaccessioncode>$id</sourceaccessioncode>
60
                                </specimenreplicate>
61
                            </plantobservation>
62
                        </aggregateoccurrence>
63
                        <iscultivated>
64
                            <_map>
65
                                <cultivated>t</cultivated>
66
                                <wild>f</wild>
67
                                <*></*>
68
                                <value>$establishmentMeans</value>
69
                            </_map>
70
                        </iscultivated>
71
                        <isnative>
72
                            <_map>
73
                                <native>t</native>
74
                                <exotic>f</exotic>
75
                                <*></*>
76
                                <value>$establishmentMeans</value>
77
                            </_map>
78
                        </isnative>
79
                        <taxondetermination>
80
                            <plantconcept_id>
81
                                <plantconcept>
82 4703 aaronmk
                                    <family>$family</family>
83
                                    <genus>$genus</genus>
84 4621 aaronmk
                                </plantconcept>
85
                            </plantconcept_id>
86
                        </taxondetermination>
87
                    </taxonoccurrence>
88
                </locationevent>
89
                <locationnarrative>$locality</locationnarrative>
90
            </location>
91
        </path>
92
    </_simplifyPath>
93 3641 aaronmk
</VegBIEN>
94 4703 aaronmk
Inserted 20 new rows into database