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>
76
                            <_alt>
77
                                <1>$collectno</1>
78
                                <2>$SciName</2>
79
                            </_alt>
80
                        </authortaxoncode>
81
                        <iscultivated>$cultivated</iscultivated>
82
                        <taxondetermination>
83
                            <taxonpath_id>
84
                                <taxonpath>
85
                                    <family>$family</family>
86
                                    <genus>$genus</genus>
87
                                    <scientificname>$SciName</scientificname>
88
                                    <scientificnameauthor>$authors</scientificnameauthor>
89
                                    <species>$species</species>
90
                                    <subspecies>
91
                                        <_name>
92
                                            <first>
93
                                                <_alt>
94
                                                    <1>$usdaRank</1>
95
                                                    <2>$infrarank</2>
96
                                                </_alt>
97
                                            </first>
98
                                            <last>$infraname</last>
99
                                        </_name>
100
                                    </subspecies>
101
                                </taxonpath>
102
                            </taxonpath_id>
103
                        </taxondetermination>
104
                        <verbatimcollectorname>
105
                            <_join>
106
                                <1>$collector</1>
107
                                <2>$collector1</2>
108
                                <3>$collector2</3>
109
                                <4>$collector3</4>
110
                            </_join>
111
                        </verbatimcollectorname>
112
                    </taxonoccurrence>
113
                </locationevent>
114
                <locationnarrative>
115
                    <_merge>
116
                        <1>$locality</1>
117
                        <3>
118
                            <_label>
119
                                <label>habitat</label>
120
                                <value>$habitat</value>
121
                            </_label>
122
                        </3>
123
                    </_merge>
124
                </locationnarrative>
125
                <locationplace>
126
                    <placepath_id>
127
                        <placepath>
128
                            <country>$country</country>
129
                            <county>$county</county>
130
                            <stateprovince>$state</stateprovince>
131
                        </placepath>
132
                    </placepath_id>
133
                </locationplace>
134
            </location>
135
        </path>
136
    </_simplifyPath>
137
</VegBIEN>
138
Inserted 20 new rows into database
(5-5/6)