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>$accession</1>
10
                        <2>$herbarium</2>
11
                    </_alt>
12
                </authorlocationcode>
13
                <locationevent>
14
                    <taxonoccurrence>
15
                        <aggregateoccurrence>
16
                            <collectiondate>
17
                                <_date>
18
                                    <day>
19
                                        <_nullIf>
20
                                            <null>0</null>
21
                                            <type>float</type>
22
                                            <value>$collday</value>
23
                                        </_nullIf>
24
                                    </day>
25
                                    <month>
26
                                        <_nullIf>
27
                                            <null>0</null>
28
                                            <type>float</type>
29
                                            <value>$collmonth</value>
30
                                        </_nullIf>
31
                                    </month>
32
                                    <year>
33
                                        <_nullIf>
34
                                            <null>0</null>
35
                                            <type>float</type>
36
                                            <value>$collyear</value>
37
                                        </_nullIf>
38
                                    </year>
39
                                </_date>
40
                            </collectiondate>
41
                            <notes>
42
                                <_join>
43
                                    <1>$comment1</1>
44
                                    <2>$comment2</2>
45
                                    <3>$comment3</3>
46
                                    <4>$comment4</4>
47
                                    <5>
48
                                        <_label>
49
                                            <label>campus</label>
50
                                            <value>$campus</value>
51
                                        </_label>
52
                                    </5>
53
                                    <6>
54
                                        <_label>
55
                                            <label>loaned to</label>
56
                                            <value>$loanto</value>
57
                                        </_label>
58
                                    </6>
59
                                    <7>
60
                                        <_label>
61
                                            <label>in or out</label>
62
                                            <value>$inorout</value>
63
                                        </_label>
64
                                    </7>
65
                                </_join>
66
                            </notes>
67
                            <plantobservation>
68
                                <collectionnumber>$collectno</collectionnumber>
69
                                <specimenreplicate>
70
                                    <institution_id><party><organizationname>$herbarium</organizationname></party></institution_id>
71
                                    <sourceaccessioncode>$accession</sourceaccessioncode>
72
                                </specimenreplicate>
73
                            </plantobservation>
74
                        </aggregateoccurrence>
75
                        <authortaxoncode>$collectno</authortaxoncode>
76
                        <iscultivated>$cultivated</iscultivated>
77
                        <sourceaccessioncode>$accession</sourceaccessioncode>
78
                        <taxondetermination>
79
                            <taxonpath_id>
80
                                <taxonpath>
81
                                    <family>$family</family>
82
                                    <genus>$genus</genus>
83
                                    <scientificname>$SciName</scientificname>
84
                                    <scientificnameauthor>$authors</scientificnameauthor>
85
                                    <species>$species</species>
86
                                    <subspecies>
87
                                        <_name>
88
                                            <first>
89
                                                <_alt>
90
                                                    <1>$usdaRank</1>
91
                                                    <2>$infrarank</2>
92
                                                </_alt>
93
                                            </first>
94
                                            <last>$infraname</last>
95
                                        </_name>
96
                                    </subspecies>
97
                                </taxonpath>
98
                            </taxonpath_id>
99
                        </taxondetermination>
100
                        <verbatimcollectorname>
101
                            <_join>
102
                                <1>$collector</1>
103
                                <2>$collector1</2>
104
                                <3>$collector2</3>
105
                                <4>$collector3</4>
106
                            </_join>
107
                        </verbatimcollectorname>
108
                    </taxonoccurrence>
109
                </locationevent>
110
                <locationnarrative>
111
                    <_merge>
112
                        <1>$locality</1>
113
                        <3>
114
                            <_label>
115
                                <label>habitat</label>
116
                                <value>$habitat</value>
117
                            </_label>
118
                        </3>
119
                    </_merge>
120
                </locationnarrative>
121
                <locationplace>
122
                    <placepath_id>
123
                        <placepath>
124
                            <country>$country</country>
125
                            <county>$county</county>
126
                            <stateprovince>$state</stateprovince>
127
                        </placepath>
128
                    </placepath_id>
129
                </locationplace>
130
            </location>
131
        </path>
132
    </_simplifyPath>
133
</VegBIEN>
134
Inserted 20 new rows into database
(5-5/6)