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 4949 aaronmk
                <authorlocationcode>$accession</authorlocationcode>
8 4621 aaronmk
                <locationevent>
9
                    <taxonoccurrence>
10
                        <aggregateoccurrence>
11
                            <collectiondate>
12
                                <_date>
13
                                    <day>
14
                                        <_nullIf>
15
                                            <null>0</null>
16
                                            <type>float</type>
17
                                            <value>$collday</value>
18
                                        </_nullIf>
19
                                    </day>
20
                                    <month>
21
                                        <_nullIf>
22
                                            <null>0</null>
23
                                            <type>float</type>
24
                                            <value>$collmonth</value>
25
                                        </_nullIf>
26
                                    </month>
27
                                    <year>
28
                                        <_nullIf>
29
                                            <null>0</null>
30
                                            <type>float</type>
31
                                            <value>$collyear</value>
32
                                        </_nullIf>
33
                                    </year>
34
                                </_date>
35
                            </collectiondate>
36
                            <notes>
37 4684 aaronmk
                                <_join>
38 4621 aaronmk
                                    <1>$comment1</1>
39
                                    <2>$comment2</2>
40
                                    <3>$comment3</3>
41
                                    <4>$comment4</4>
42
                                    <5>
43
                                        <_label>
44
                                            <label>campus</label>
45
                                            <value>$campus</value>
46
                                        </_label>
47
                                    </5>
48
                                    <6>
49
                                        <_label>
50
                                            <label>loaned to</label>
51
                                            <value>$loanto</value>
52
                                        </_label>
53
                                    </6>
54
                                    <7>
55
                                        <_label>
56
                                            <label>in or out</label>
57
                                            <value>$inorout</value>
58
                                        </_label>
59
                                    </7>
60 4684 aaronmk
                                </_join>
61 4621 aaronmk
                            </notes>
62
                            <plantobservation>
63
                                <collectionnumber>$collectno</collectionnumber>
64
                                <specimenreplicate>
65
                                    <institution_id><party><organizationname>$herbarium</organizationname></party></institution_id>
66
                                    <sourceaccessioncode>$accession</sourceaccessioncode>
67
                                </specimenreplicate>
68
                            </plantobservation>
69
                        </aggregateoccurrence>
70 4833 aaronmk
                        <authortaxoncode>$collectno</authortaxoncode>
71 4621 aaronmk
                        <iscultivated>$cultivated</iscultivated>
72 4834 aaronmk
                        <sourceaccessioncode>$accession</sourceaccessioncode>
73 4621 aaronmk
                        <taxondetermination>
74 4718 aaronmk
                            <taxonpath_id>
75
                                <taxonpath>
76 4944 aaronmk
                                    <author>$authors</author>
77 4703 aaronmk
                                    <family>$family</family>
78
                                    <genus>$genus</genus>
79
                                    <species>$species</species>
80
                                    <subspecies>
81 5014 aaronmk
                                        <_join_words>
82
                                            <1>
83 5109 aaronmk
                                                <_if name="if has infraspecificEpithet">
84
                                                    <cond>$infraname</cond>
85
                                                    <then>
86
                                                        <_alt>
87
                                                            <1>$usdaRank</1>
88
                                                            <2>$infrarank</2>
89
                                                        </_alt>
90
                                                    </then>
91
                                                </_if>
92 5014 aaronmk
                                            </1>
93
                                            <2>$infraname</2>
94
                                        </_join_words>
95 4703 aaronmk
                                    </subspecies>
96 4965 aaronmk
                                    <taxonomicname>$SciName</taxonomicname>
97 5012 aaronmk
                                    <taxonomicnamewithauthor>
98
                                        <_join_words>
99 5072 aaronmk
                                            <1>
100
                                                <_alt>
101
                                                    <1>$SciName</1>
102
                                                    <2>
103
                                                        <_join_words>
104
                                                            <1>$family</1>
105
                                                            <2>$genus</2>
106
                                                            <3>$species</3>
107
                                                            <5>
108
                                                                <_join_words>
109
                                                                    <1>
110 5109 aaronmk
                                                                        <_if name="if has infraspecificEpithet">
111
                                                                            <cond>$infraname</cond>
112
                                                                            <then>
113
                                                                                <_alt>
114
                                                                                    <1>$usdaRank</1>
115
                                                                                    <2>$infrarank</2>
116
                                                                                </_alt>
117
                                                                            </then>
118
                                                                        </_if>
119 5072 aaronmk
                                                                    </1>
120
                                                                    <2>$infraname</2>
121
                                                                </_join_words>
122
                                                            </5>
123
                                                        </_join_words>
124
                                                    </2>
125
                                                </_alt>
126
                                            </1>
127 5012 aaronmk
                                            <2>$authors</2>
128
                                        </_join_words>
129
                                    </taxonomicnamewithauthor>
130 4718 aaronmk
                                </taxonpath>
131
                            </taxonpath_id>
132 4621 aaronmk
                        </taxondetermination>
133
                        <verbatimcollectorname>
134 4684 aaronmk
                            <_join>
135 4621 aaronmk
                                <1>$collector</1>
136
                                <2>$collector1</2>
137
                                <3>$collector2</3>
138
                                <4>$collector3</4>
139 4684 aaronmk
                            </_join>
140 4621 aaronmk
                        </verbatimcollectorname>
141
                    </taxonoccurrence>
142
                </locationevent>
143
                <locationnarrative>
144 3934 aaronmk
                    <_merge>
145 4621 aaronmk
                        <1>$locality</1>
146
                        <3>
147
                            <_label>
148
                                <label>habitat</label>
149
                                <value>$habitat</value>
150
                            </_label>
151
                        </3>
152 3934 aaronmk
                    </_merge>
153 4621 aaronmk
                </locationnarrative>
154 4726 aaronmk
                <locationplace>
155 4727 aaronmk
                    <placepath_id>
156
                        <placepath>
157
                            <country>$country</country>
158
                            <county>$county</county>
159
                            <stateprovince>$state</stateprovince>
160
                        </placepath>
161
                    </placepath_id>
162 4726 aaronmk
                </locationplace>
163 4621 aaronmk
            </location>
164
        </path>
165
    </_simplifyPath>
166 3641 aaronmk
</VegBIEN>
167 4727 aaronmk
Inserted 20 new rows into database