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 5138 aaronmk
                                    <canon_taxonpath_id>
77
                                        <taxonpath>
78
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
79
                                            <identifyingtaxonomicname>
80
                                                <_join_words>
81
                                                    <1>
82
                                                        <_alt>
83
                                                            <1>$SciName</1>
84
                                                            <2>
85
                                                                <_join_words>
86
                                                                    <1>$family</1>
87
                                                                    <2>$genus</2>
88
                                                                    <3>$species</3>
89
                                                                    <5>
90
                                                                        <_join_words>
91
                                                                            <1>
92
                                                                                <_if name="if has infraspecificEpithet">
93
                                                                                    <cond>$infraname</cond>
94
                                                                                    <then>
95
                                                                                        <_alt>
96
                                                                                            <1>$usdaRank</1>
97
                                                                                            <2>$infrarank</2>
98
                                                                                        </_alt>
99
                                                                                    </then>
100
                                                                                </_if>
101
                                                                            </1>
102
                                                                            <2>$infraname</2>
103
                                                                        </_join_words>
104
                                                                    </5>
105
                                                                </_join_words>
106
                                                            </2>
107
                                                        </_alt>
108
                                                    </1>
109
                                                    <2>$authors</2>
110
                                                </_join_words>
111
                                            </identifyingtaxonomicname>
112
                                        </taxonpath>
113
                                    </canon_taxonpath_id>
114 4944 aaronmk
                                    <author>$authors</author>
115 4703 aaronmk
                                    <family>$family</family>
116
                                    <genus>$genus</genus>
117 5137 aaronmk
                                    <species>$species</species>
118
                                    <subspecies>
119
                                        <_join_words>
120
                                            <1>
121
                                                <_if name="if has infraspecificEpithet">
122
                                                    <cond>$infraname</cond>
123
                                                    <then>
124
                                                        <_alt>
125
                                                            <1>$usdaRank</1>
126
                                                            <2>$infrarank</2>
127
                                                        </_alt>
128
                                                    </then>
129
                                                </_if>
130
                                            </1>
131
                                            <2>$infraname</2>
132
                                        </_join_words>
133
                                    </subspecies>
134
                                    <taxonomicname>$SciName</taxonomicname>
135 4718 aaronmk
                                </taxonpath>
136
                            </taxonpath_id>
137 4621 aaronmk
                        </taxondetermination>
138
                        <verbatimcollectorname>
139 4684 aaronmk
                            <_join>
140 4621 aaronmk
                                <1>$collector</1>
141
                                <2>$collector1</2>
142
                                <3>$collector2</3>
143
                                <4>$collector3</4>
144 4684 aaronmk
                            </_join>
145 4621 aaronmk
                        </verbatimcollectorname>
146
                    </taxonoccurrence>
147
                </locationevent>
148
                <locationnarrative>
149 3934 aaronmk
                    <_merge>
150 4621 aaronmk
                        <1>$locality</1>
151
                        <3>
152
                            <_label>
153
                                <label>habitat</label>
154
                                <value>$habitat</value>
155
                            </_label>
156
                        </3>
157 3934 aaronmk
                    </_merge>
158 4621 aaronmk
                </locationnarrative>
159 4726 aaronmk
                <locationplace>
160 4727 aaronmk
                    <placepath_id>
161
                        <placepath>
162
                            <country>$country</country>
163
                            <county>$county</county>
164
                            <stateprovince>$state</stateprovince>
165
                        </placepath>
166
                    </placepath_id>
167 4726 aaronmk
                </locationplace>
168 4621 aaronmk
            </location>
169
        </path>
170
    </_simplifyPath>
171 3641 aaronmk
</VegBIEN>
172 5138 aaronmk
Inserted 22 new rows into database