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>$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 4684 aaronmk
                                <_join>
43 4621 aaronmk
                                    <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 4684 aaronmk
                                </_join>
66 4621 aaronmk
                            </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 4718 aaronmk
                            <taxonpath_id>
84
                                <taxonpath>
85 4703 aaronmk
                                    <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 4718 aaronmk
                                </taxonpath>
102
                            </taxonpath_id>
103 4621 aaronmk
                        </taxondetermination>
104
                        <verbatimcollectorname>
105 4684 aaronmk
                            <_join>
106 4621 aaronmk
                                <1>$collector</1>
107
                                <2>$collector1</2>
108
                                <3>$collector2</3>
109
                                <4>$collector3</4>
110 4684 aaronmk
                            </_join>
111 4621 aaronmk
                        </verbatimcollectorname>
112
                    </taxonoccurrence>
113
                </locationevent>
114
                <locationnarrative>
115 3934 aaronmk
                    <_merge>
116 4621 aaronmk
                        <1>$locality</1>
117
                        <3>
118
                            <_label>
119
                                <label>habitat</label>
120
                                <value>$habitat</value>
121
                            </_label>
122
                        </3>
123 3934 aaronmk
                    </_merge>
124 4621 aaronmk
                </locationnarrative>
125 4726 aaronmk
                <locationplace>
126
                    <namedplace_id>
127
                        <namedplace>
128
                            <rank>county</rank>
129
                            <placename>$county</placename>
130
                            <parent_id>
131
                                <namedplace>
132
                                    <rank>stateProvince</rank>
133
                                    <placename>$state</placename>
134
                                    <parent_id>
135
                                        <namedplace>
136
                                            <rank>country</rank>
137
                                            <placename>$country</placename>
138
                                        </namedplace>
139
                                    </parent_id>
140
                                </namedplace>
141
                            </parent_id>
142
                        </namedplace>
143
                    </namedplace_id>
144
                </locationplace>
145 4621 aaronmk
            </location>
146
        </path>
147
    </_simplifyPath>
148 3641 aaronmk
</VegBIEN>
149 4703 aaronmk
Inserted 21 new rows into database