Project

General

Profile

« Previous | Next » 

Revision 5657

schemas/vegbien.sql: Link taxondetermination to taxonverbatim (which is a subclass of taxonlabel) instead of directly to taxonlabel. This will enable later having multiple taxonverbatims for one taxonlabel.

View differences:

inputs/.TNRS/tnrs/test.xml.ref
7 7
                <locationevent>
8 8
                    <taxonoccurrence>
9 9
                        <taxondetermination>
10
                            <taxonlabel_id>
11
                                <taxonlabel>
12
                                    <_taxonlabel_set_matched_label_id>
13
                                        <matched_label_id>
14
                                            <taxonlabel>
15
                                                <parent_id>
10
                            <taxonverbatim_id>
11
                                <taxonverbatim>
12
                                    <taxonlabel_id>
13
                                        <taxonlabel>
14
                                            <_taxonlabel_set_matched_label_id>
15
                                                <matched_label_id>
16 16
                                                    <taxonlabel>
17 17
                                                        <parent_id>
18 18
                                                            <taxonlabel>
19
                                                                <rank>cultivar</rank>
20 19
                                                                <parent_id>
21 20
                                                                    <taxonlabel>
22
                                                                        <rank>forma</rank>
21
                                                                        <rank>cultivar</rank>
23 22
                                                                        <parent_id>
24 23
                                                                            <taxonlabel>
25
                                                                                <rank>variety</rank>
24
                                                                                <rank>forma</rank>
26 25
                                                                                <parent_id>
27 26
                                                                                    <taxonlabel>
28
                                                                                        <rank>subspecies</rank>
27
                                                                                        <rank>variety</rank>
29 28
                                                                                        <parent_id>
30 29
                                                                                            <taxonlabel>
31
                                                                                                <rank>species</rank>
30
                                                                                                <rank>subspecies</rank>
32 31
                                                                                                <parent_id>
33 32
                                                                                                    <taxonlabel>
34
                                                                                                        <rank>genus</rank>
33
                                                                                                        <rank>species</rank>
35 34
                                                                                                        <parent_id>
36 35
                                                                                                            <taxonlabel>
37
                                                                                                                <rank>family</rank>
38
                                                                                                                <matched_label_id>
36
                                                                                                                <rank>genus</rank>
37
                                                                                                                <parent_id>
39 38
                                                                                                                    <taxonlabel>
40
                                                                                                                        <creator_id>
41
                                                                                                                            <party>
42
                                                                                                                                <creator_id>0</creator_id>
43
                                                                                                                                <organizationname>NCBI</organizationname>
44
                                                                                                                            </party>
45
                                                                                                                        </creator_id>
46 39
                                                                                                                        <rank>family</rank>
40
                                                                                                                        <matched_label_id>
41
                                                                                                                            <taxonlabel>
42
                                                                                                                                <creator_id>
43
                                                                                                                                    <party>
44
                                                                                                                                        <creator_id>0</creator_id>
45
                                                                                                                                        <organizationname>NCBI</organizationname>
46
                                                                                                                                    </party>
47
                                                                                                                                </creator_id>
48
                                                                                                                                <rank>family</rank>
49
                                                                                                                                <taxonepithet>$Accepted_name_family</taxonepithet>
50
                                                                                                                            </taxonlabel>
51
                                                                                                                        </matched_label_id>
47 52
                                                                                                                        <taxonepithet>$Accepted_name_family</taxonepithet>
48 53
                                                                                                                    </taxonlabel>
49
                                                                                                                </matched_label_id>
50
                                                                                                                <taxonepithet>$Accepted_name_family</taxonepithet>
54
                                                                                                                </parent_id>
51 55
                                                                                                            </taxonlabel>
52 56
                                                                                                        </parent_id>
53 57
                                                                                                    </taxonlabel>
......
60 64
                                                                        </parent_id>
61 65
                                                                    </taxonlabel>
62 66
                                                                </parent_id>
67
                                                                <rank>$Accepted_name_rank</rank>
68
                                                                <taxonverbatim><verbatimrank>$Accepted_name_rank</verbatimrank></taxonverbatim>
63 69
                                                            </taxonlabel>
64 70
                                                        </parent_id>
65 71
                                                        <rank>$Accepted_name_rank</rank>
66
                                                        <taxonverbatim><verbatimrank>$Accepted_name_rank</verbatimrank></taxonverbatim>
72
                                                        <taxonomicname>
73
                                                            <_join_words>
74
                                                                <1>
75
                                                                    <_alt>
76
                                                                        <1>$Accepted_name</1>
77
                                                                        <2>$Accepted_name_family</2>
78
                                                                    </_alt>
79
                                                                </1>
80
                                                                <2>$Accepted_name_author</2>
81
                                                            </_join_words>
82
                                                        </taxonomicname>
83
                                                        <taxonverbatim>
84
                                                            <author>$Accepted_name_author</author>
85
                                                            <binomial>$Accepted_name</binomial>
86
                                                            <family>$Accepted_name_family</family>
87
                                                            <verbatimrank>$Accepted_name_rank</verbatimrank>
88
                                                        </taxonverbatim>
67 89
                                                    </taxonlabel>
68
                                                </parent_id>
69
                                                <rank>$Accepted_name_rank</rank>
70
                                                <taxonomicname>
71
                                                    <_join_words>
72
                                                        <1>
73
                                                            <_alt>
74
                                                                <1>$Accepted_name</1>
75
                                                                <2>$Accepted_name_family</2>
76
                                                            </_alt>
77
                                                        </1>
78
                                                        <2>$Accepted_name_author</2>
79
                                                    </_join_words>
80
                                                </taxonomicname>
81
                                                <taxonverbatim>
82
                                                    <author>$Accepted_name_author</author>
83
                                                    <binomial>$Accepted_name</binomial>
84
                                                    <family>$Accepted_name_family</family>
85
                                                    <verbatimrank>$Accepted_name_rank</verbatimrank>
86
                                                </taxonverbatim>
87
                                            </taxonlabel>
88
                                        </matched_label_id>
89
                                    </_taxonlabel_set_matched_label_id>
90
                                    <parent_id>
91
                                        <taxonlabel>
92
                                            <rank>$Name_matched_rank</rank>
93
                                            <taxonverbatim><verbatimrank>$Name_matched_rank</verbatimrank></taxonverbatim>
90
                                                </matched_label_id>
91
                                            </_taxonlabel_set_matched_label_id>
94 92
                                            <parent_id>
95 93
                                                <taxonlabel>
96
                                                    <rank>cultivar</rank>
94
                                                    <rank>$Name_matched_rank</rank>
95
                                                    <taxonverbatim><verbatimrank>$Name_matched_rank</verbatimrank></taxonverbatim>
97 96
                                                    <parent_id>
98 97
                                                        <taxonlabel>
99
                                                            <rank>forma</rank>
98
                                                            <rank>cultivar</rank>
100 99
                                                            <parent_id>
101 100
                                                                <taxonlabel>
102
                                                                    <rank>variety</rank>
101
                                                                    <rank>forma</rank>
103 102
                                                                    <parent_id>
104 103
                                                                        <taxonlabel>
105
                                                                            <rank>subspecies</rank>
104
                                                                            <rank>variety</rank>
106 105
                                                                            <parent_id>
107 106
                                                                                <taxonlabel>
108
                                                                                    <rank>species</rank>
109
                                                                                    <taxonepithet>$Specific_epithet_matched</taxonepithet>
107
                                                                                    <rank>subspecies</rank>
110 108
                                                                                    <parent_id>
111 109
                                                                                        <taxonlabel>
112
                                                                                            <rank>genus</rank>
113
                                                                                            <taxonepithet>$Genus_matched</taxonepithet>
110
                                                                                            <rank>species</rank>
111
                                                                                            <taxonepithet>$Specific_epithet_matched</taxonepithet>
114 112
                                                                                            <parent_id>
115 113
                                                                                                <taxonlabel>
116
                                                                                                    <rank>family</rank>
117
                                                                                                    <taxonepithet>$Name_matched_accepted_family</taxonepithet>
114
                                                                                                    <rank>genus</rank>
115
                                                                                                    <taxonepithet>$Genus_matched</taxonepithet>
116
                                                                                                    <parent_id>
117
                                                                                                        <taxonlabel>
118
                                                                                                            <rank>family</rank>
119
                                                                                                            <taxonepithet>$Name_matched_accepted_family</taxonepithet>
120
                                                                                                        </taxonlabel>
121
                                                                                                    </parent_id>
118 122
                                                                                                </taxonlabel>
119 123
                                                                                            </parent_id>
120 124
                                                                                        </taxonlabel>
......
127 131
                                                            </parent_id>
128 132
                                                        </taxonlabel>
129 133
                                                    </parent_id>
134
                                                    <taxonepithet>$Infraspecific_epithet_matched</taxonepithet>
130 135
                                                </taxonlabel>
131 136
                                            </parent_id>
132
                                            <taxonepithet>$Infraspecific_epithet_matched</taxonepithet>
133
                                        </taxonlabel>
134
                                    </parent_id>
135
                                    <rank>$Name_matched_rank</rank>
136
                                    <sourceaccessioncode>$Name_matched_url</sourceaccessioncode>
137
                                    <taxonlabel fkey="matched_label_id">
138
                                        <matched_label_fit_fraction>
139
                                            <_max>
140
                                                <1>$Family_score</1>
141
                                                <2>$Genus_score</2>
142
                                                <3>$Specific_epithet_score</3>
143
                                                <4>$Overall_score</4>
144
                                            </_max>
145
                                        </matched_label_fit_fraction>
146
                                        <taxonomicname>$Name_submitted</taxonomicname>
147
                                        <taxonverbatim>
148
                                            <author>$Author_matched</author>
149
                                            <binomial>$Name_matched</binomial>
150
                                            <family>$Family_matched</family>
151
                                            <genus>$Genus_matched</genus>
152
                                            <morphospecies>$Unmatched_terms</morphospecies>
153
                                            <species>$Specific_epithet_matched</species>
154
                                            <verbatimrank>$Infraspecific_rank</verbatimrank>
155
                                        </taxonverbatim>
156
                                    </taxonlabel>
157
                                    <taxonomicname>
158
                                        <_join_words>
159
                                            <1>
160
                                                <_alt>
161
                                                    <1>$Name_matched</1>
162
                                                    <2>
163
                                                        <_join_words>
164
                                                            <1>$Name_matched_accepted_family</1>
165
                                                            <2>$Genus_matched</2>
166
                                                            <3>$Specific_epithet_matched</3>
167
                                                            <5>
137
                                            <rank>$Name_matched_rank</rank>
138
                                            <sourceaccessioncode>$Name_matched_url</sourceaccessioncode>
139
                                            <taxonlabel fkey="matched_label_id">
140
                                                <matched_label_fit_fraction>
141
                                                    <_max>
142
                                                        <1>$Family_score</1>
143
                                                        <2>$Genus_score</2>
144
                                                        <3>$Specific_epithet_score</3>
145
                                                        <4>$Overall_score</4>
146
                                                    </_max>
147
                                                </matched_label_fit_fraction>
148
                                                <taxonomicname>$Name_submitted</taxonomicname>
149
                                                <taxonverbatim>
150
                                                    <author>$Author_matched</author>
151
                                                    <binomial>$Name_matched</binomial>
152
                                                    <family>$Family_matched</family>
153
                                                    <genus>$Genus_matched</genus>
154
                                                    <morphospecies>$Unmatched_terms</morphospecies>
155
                                                    <species>$Specific_epithet_matched</species>
156
                                                    <verbatimrank>$Infraspecific_rank</verbatimrank>
157
                                                </taxonverbatim>
158
                                            </taxonlabel>
159
                                            <taxonomicname>
160
                                                <_join_words>
161
                                                    <1>
162
                                                        <_alt>
163
                                                            <1>$Name_matched</1>
164
                                                            <2>
168 165
                                                                <_join_words>
169
                                                                    <1>
170
                                                                        <_if name="if has infraspecificEpithet">
171
                                                                            <cond>$Infraspecific_epithet_matched</cond>
172
                                                                            <then>$Name_matched_rank</then>
173
                                                                        </_if>
174
                                                                    </1>
175
                                                                    <2>$Infraspecific_epithet_matched</2>
166
                                                                    <1>$Name_matched_accepted_family</1>
167
                                                                    <2>$Genus_matched</2>
168
                                                                    <3>$Specific_epithet_matched</3>
169
                                                                    <5>
170
                                                                        <_join_words>
171
                                                                            <1>
172
                                                                                <_if name="if has infraspecificEpithet">
173
                                                                                    <cond>$Infraspecific_epithet_matched</cond>
174
                                                                                    <then>$Name_matched_rank</then>
175
                                                                                </_if>
176
                                                                            </1>
177
                                                                            <2>$Infraspecific_epithet_matched</2>
178
                                                                        </_join_words>
179
                                                                    </5>
176 180
                                                                </_join_words>
177
                                                            </5>
178
                                                        </_join_words>
179
                                                    </2>
180
                                                </_alt>
181
                                            </1>
182
                                            <2>$Name_matched_author</2>
183
                                        </_join_words>
184
                                    </taxonomicname>
185
                                    <taxonstatus>$Taxonomic_status</taxonstatus>
186
                                    <taxonverbatim>
187
                                        <author>$Name_matched_author</author>
188
                                        <binomial>$Name_matched</binomial>
189
                                        <family>$Name_matched_accepted_family</family>
190
                                        <genus>$Genus_matched</genus>
191
                                        <species>$Specific_epithet_matched</species>
192
                                        <verbatimrank>$Name_matched_rank</verbatimrank>
193
                                    </taxonverbatim>
194
                                </taxonlabel>
195
                            </taxonlabel_id>
181
                                                            </2>
182
                                                        </_alt>
183
                                                    </1>
184
                                                    <2>$Name_matched_author</2>
185
                                                </_join_words>
186
                                            </taxonomicname>
187
                                            <taxonstatus>$Taxonomic_status</taxonstatus>
188
                                        </taxonlabel>
189
                                    </taxonlabel_id>
190
                                    <author>$Name_matched_author</author>
191
                                    <binomial>$Name_matched</binomial>
192
                                    <family>$Name_matched_accepted_family</family>
193
                                    <genus>$Genus_matched</genus>
194
                                    <species>$Specific_epithet_matched</species>
195
                                    <verbatimrank>$Name_matched_rank</verbatimrank>
196
                                </taxonverbatim>
197
                            </taxonverbatim_id>
196 198
                        </taxondetermination>
197 199
                    </taxonoccurrence>
198 200
                </locationevent>
inputs/ARIZ/Specimen/VegBIEN.csv
30 30
ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
31 31
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
32 32
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
33
ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/1",Contains the binomial in addition to the authority
34
ScientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
35
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
36
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
37
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
38
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
39
DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
40
MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
41
YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
42
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creator_id/_simplifyPath:[next=creator_id]/path/party/fullname/_alt/2,
43
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet",
44
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
45
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
46
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
47
Order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
48
Class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
49
Phylum,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=phylum]/taxonepithet",
50
Kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet",
51
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/1,Contains the binomial in addition to the authority
52
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
53
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
54
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
55
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
56
Subspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
57
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/binomial,
58
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/family,
59
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/genus,
60
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/species,
61
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/taxonomicname,Contains the binomial in addition to the authority
33
ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/1",Contains the binomial in addition to the authority
34
ScientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
35
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
36
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
37
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
38
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
39
DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
40
MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
41
YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
42
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creator_id/_simplifyPath:[next=creator_id]/path/party/fullname/_alt/2,
43
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet",
44
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
45
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
46
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
47
Order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
48
Class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
49
Phylum,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=phylum]/taxonepithet",
50
Kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet",
51
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/1,Contains the binomial in addition to the authority
52
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
53
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
54
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
55
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
56
Subspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
57
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/binomial,
58
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
59
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
60
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species,
61
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonomicname,Contains the binomial in addition to the authority
62 62
DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
63 63
MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
64 64
YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
inputs/GBIF/Specimen/test.xml.ref
47 47
                        </aggregateoccurrence>
48 48
                        <taxondetermination>
49 49
                            <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
50
                            <taxonlabel_id>
51
                                <taxonlabel>
52
                                    <matched_label_id>
50
                            <taxonverbatim_id>
51
                                <taxonverbatim>
52
                                    <taxonlabel_id>
53 53
                                        <taxonlabel>
54
                                            <matched_label_id>
55
                                                <taxonlabel>
56
                                                    <creator_id>
57
                                                        <party>
58
                                                            <creator_id>0</creator_id>
59
                                                            <organizationname>TNRS</organizationname>
60
                                                        </party>
61
                                                    </creator_id>
62
                                                    <taxonomicname>
63
                                                        <_join_words>
64
                                                            <1>
65
                                                                <_alt>
66
                                                                    <1>$ScientificName</1>
67
                                                                    <2>
68
                                                                        <_join_words>
69
                                                                            <1>$Family</1>
70
                                                                            <2>$Genus</2>
71
                                                                            <3>$SpecificEpithet</3>
72
                                                                            <5>$InfraspecificEpithet</5>
73
                                                                        </_join_words>
74
                                                                    </2>
75
                                                                </_alt>
76
                                                            </1>
77
                                                            <2>$AuthorOfScientificName</2>
78
                                                        </_join_words>
79
                                                    </taxonomicname>
80
                                                </taxonlabel>
81
                                            </matched_label_id>
54 82
                                            <creator_id>
55
                                                <party>
56
                                                    <creator_id>0</creator_id>
57
                                                    <organizationname>TNRS</organizationname>
58
                                                </party>
83
                                                <_simplifyPath>
84
                                                    <next>creator_id</next>
85
                                                    <path><party><fullname>$IdentifiedBy</fullname></party></path>
86
                                                </_simplifyPath>
59 87
                                            </creator_id>
60
                                            <taxonomicname>
61
                                                <_join_words>
62
                                                    <1>
63
                                                        <_alt>
64
                                                            <1>$ScientificName</1>
65
                                                            <2>
66
                                                                <_join_words>
67
                                                                    <1>$Family</1>
68
                                                                    <2>$Genus</2>
69
                                                                    <3>$SpecificEpithet</3>
70
                                                                    <5>$InfraspecificEpithet</5>
71
                                                                </_join_words>
72
                                                            </2>
73
                                                        </_alt>
74
                                                    </1>
75
                                                    <2>$AuthorOfScientificName</2>
76
                                                </_join_words>
77
                                            </taxonomicname>
78
                                        </taxonlabel>
79
                                    </matched_label_id>
80
                                    <creator_id>
81
                                        <_simplifyPath>
82
                                            <next>creator_id</next>
83
                                            <path><party><fullname>$IdentifiedBy</fullname></party></path>
84
                                        </_simplifyPath>
85
                                    </creator_id>
86
                                    <parent_id>
87
                                        <taxonlabel>
88 88
                                            <parent_id>
89 89
                                                <taxonlabel>
90
                                                    <rank>cultivar</rank>
91 90
                                                    <parent_id>
92 91
                                                        <taxonlabel>
93
                                                            <rank>forma</rank>
92
                                                            <rank>cultivar</rank>
94 93
                                                            <parent_id>
95 94
                                                                <taxonlabel>
96
                                                                    <rank>variety</rank>
95
                                                                    <rank>forma</rank>
97 96
                                                                    <parent_id>
98 97
                                                                        <taxonlabel>
99
                                                                            <rank>subspecies</rank>
98
                                                                            <rank>variety</rank>
100 99
                                                                            <parent_id>
101 100
                                                                                <taxonlabel>
102
                                                                                    <rank>species</rank>
103
                                                                                    <taxonepithet>$SpecificEpithet</taxonepithet>
101
                                                                                    <rank>subspecies</rank>
104 102
                                                                                    <parent_id>
105 103
                                                                                        <taxonlabel>
106
                                                                                            <rank>genus</rank>
107
                                                                                            <taxonepithet>$Genus</taxonepithet>
104
                                                                                            <rank>species</rank>
105
                                                                                            <taxonepithet>$SpecificEpithet</taxonepithet>
108 106
                                                                                            <parent_id>
109 107
                                                                                                <taxonlabel>
110
                                                                                                    <rank>family</rank>
111
                                                                                                    <taxonepithet>$Family</taxonepithet>
108
                                                                                                    <rank>genus</rank>
109
                                                                                                    <taxonepithet>$Genus</taxonepithet>
110
                                                                                                    <parent_id>
111
                                                                                                        <taxonlabel>
112
                                                                                                            <rank>family</rank>
113
                                                                                                            <taxonepithet>$Family</taxonepithet>
114
                                                                                                        </taxonlabel>
115
                                                                                                    </parent_id>
112 116
                                                                                                </taxonlabel>
113 117
                                                                                            </parent_id>
114 118
                                                                                        </taxonlabel>
......
121 125
                                                            </parent_id>
122 126
                                                        </taxonlabel>
123 127
                                                    </parent_id>
128
                                                    <taxonepithet>$InfraspecificEpithet</taxonepithet>
124 129
                                                </taxonlabel>
125 130
                                            </parent_id>
126
                                            <taxonepithet>$InfraspecificEpithet</taxonepithet>
131
                                            <taxonomicname>
132
                                                <_join_words>
133
                                                    <1>
134
                                                        <_alt>
135
                                                            <1>$ScientificName</1>
136
                                                            <2>
137
                                                                <_join_words>
138
                                                                    <1>$Family</1>
139
                                                                    <2>$Genus</2>
140
                                                                    <3>$SpecificEpithet</3>
141
                                                                    <5>$InfraspecificEpithet</5>
142
                                                                </_join_words>
143
                                                            </2>
144
                                                        </_alt>
145
                                                    </1>
146
                                                    <2>$AuthorOfScientificName</2>
147
                                                </_join_words>
148
                                            </taxonomicname>
127 149
                                        </taxonlabel>
128
                                    </parent_id>
129
                                    <taxonomicname>
130
                                        <_join_words>
131
                                            <1>
132
                                                <_alt>
133
                                                    <1>$ScientificName</1>
134
                                                    <2>
135
                                                        <_join_words>
136
                                                            <1>$Family</1>
137
                                                            <2>$Genus</2>
138
                                                            <3>$SpecificEpithet</3>
139
                                                            <5>$InfraspecificEpithet</5>
140
                                                        </_join_words>
141
                                                    </2>
142
                                                </_alt>
143
                                            </1>
144
                                            <2>$AuthorOfScientificName</2>
145
                                        </_join_words>
146
                                    </taxonomicname>
147
                                    <taxonverbatim>
148
                                        <author>$AuthorOfScientificName</author>
149
                                        <binomial>$ScientificName</binomial>
150
                                        <family>$Family</family>
151
                                        <genus>$Genus</genus>
152
                                        <species>$SpecificEpithet</species>
153
                                    </taxonverbatim>
154
                                </taxonlabel>
155
                            </taxonlabel_id>
150
                                    </taxonlabel_id>
151
                                    <author>$AuthorOfScientificName</author>
152
                                    <binomial>$ScientificName</binomial>
153
                                    <family>$Family</family>
154
                                    <genus>$Genus</genus>
155
                                    <species>$SpecificEpithet</species>
156
                                </taxonverbatim>
157
                            </taxonverbatim_id>
156 158
                        </taxondetermination>
157 159
                        <taxondetermination>
158 160
                            <isoriginal>true</isoriginal>
159
                            <taxonlabel_id>
160
                                <taxonlabel>
161
                                    <matched_label_id>
161
                            <taxonverbatim_id>
162
                                <taxonverbatim>
163
                                    <taxonlabel_id>
162 164
                                        <taxonlabel>
163
                                            <creator_id>
164
                                                <party>
165
                                                    <creator_id>0</creator_id>
166
                                                    <organizationname>TNRS</organizationname>
167
                                                </party>
168
                                            </creator_id>
169
                                            <taxonomicname>
170
                                                <_alt>
171
                                                    <1>$ScientificNameOriginal</1>
172
                                                    <2>
173
                                                        <_join_words>
174
                                                            <1>$GBIFFamilyOriginal</1>
175
                                                            <2>$GBIFGenusOriginal</2>
176
                                                        </_join_words>
177
                                                    </2>
178
                                                </_alt>
179
                                            </taxonomicname>
180
                                        </taxonlabel>
181
                                    </matched_label_id>
182
                                    <parent_id>
183
                                        <taxonlabel>
165
                                            <matched_label_id>
166
                                                <taxonlabel>
167
                                                    <creator_id>
168
                                                        <party>
169
                                                            <creator_id>0</creator_id>
170
                                                            <organizationname>TNRS</organizationname>
171
                                                        </party>
172
                                                    </creator_id>
173
                                                    <taxonomicname>
174
                                                        <_alt>
175
                                                            <1>$ScientificNameOriginal</1>
176
                                                            <2>
177
                                                                <_join_words>
178
                                                                    <1>$GBIFFamilyOriginal</1>
179
                                                                    <2>$GBIFGenusOriginal</2>
180
                                                                </_join_words>
181
                                                            </2>
182
                                                        </_alt>
183
                                                    </taxonomicname>
184
                                                </taxonlabel>
185
                                            </matched_label_id>
184 186
                                            <parent_id>
185 187
                                                <taxonlabel>
186
                                                    <rank>cultivar</rank>
187 188
                                                    <parent_id>
188 189
                                                        <taxonlabel>
189
                                                            <rank>forma</rank>
190
                                                            <rank>cultivar</rank>
190 191
                                                            <parent_id>
191 192
                                                                <taxonlabel>
192
                                                                    <rank>variety</rank>
193
                                                                    <rank>forma</rank>
193 194
                                                                    <parent_id>
194 195
                                                                        <taxonlabel>
195
                                                                            <rank>subspecies</rank>
196
                                                                            <rank>variety</rank>
196 197
                                                                            <parent_id>
197 198
                                                                                <taxonlabel>
198
                                                                                    <rank>species</rank>
199
                                                                                    <rank>subspecies</rank>
199 200
                                                                                    <parent_id>
200 201
                                                                                        <taxonlabel>
201
                                                                                            <rank>genus</rank>
202
                                                                                            <taxonepithet>$GBIFGenusOriginal</taxonepithet>
202
                                                                                            <rank>species</rank>
203 203
                                                                                            <parent_id>
204 204
                                                                                                <taxonlabel>
205
                                                                                                    <rank>family</rank>
206
                                                                                                    <taxonepithet>$GBIFFamilyOriginal</taxonepithet>
205
                                                                                                    <rank>genus</rank>
206
                                                                                                    <taxonepithet>$GBIFGenusOriginal</taxonepithet>
207
                                                                                                    <parent_id>
208
                                                                                                        <taxonlabel>
209
                                                                                                            <rank>family</rank>
210
                                                                                                            <taxonepithet>$GBIFFamilyOriginal</taxonepithet>
211
                                                                                                        </taxonlabel>
212
                                                                                                    </parent_id>
207 213
                                                                                                </taxonlabel>
208 214
                                                                                            </parent_id>
209 215
                                                                                        </taxonlabel>
......
218 224
                                                    </parent_id>
219 225
                                                </taxonlabel>
220 226
                                            </parent_id>
227
                                            <taxonomicname>
228
                                                <_alt>
229
                                                    <1>$ScientificNameOriginal</1>
230
                                                    <2>
231
                                                        <_join_words>
232
                                                            <1>$GBIFFamilyOriginal</1>
233
                                                            <2>$GBIFGenusOriginal</2>
234
                                                        </_join_words>
235
                                                    </2>
236
                                                </_alt>
237
                                            </taxonomicname>
221 238
                                        </taxonlabel>
222
                                    </parent_id>
223
                                    <taxonomicname>
224
                                        <_alt>
225
                                            <1>$ScientificNameOriginal</1>
226
                                            <2>
227
                                                <_join_words>
228
                                                    <1>$GBIFFamilyOriginal</1>
229
                                                    <2>$GBIFGenusOriginal</2>
230
                                                </_join_words>
231
                                            </2>
232
                                        </_alt>
233
                                    </taxonomicname>
234
                                    <taxonverbatim>
235
                                        <binomial>$ScientificNameOriginal</binomial>
236
                                        <family>$GBIFFamilyOriginal</family>
237
                                        <genus>$GBIFGenusOriginal</genus>
238
                                    </taxonverbatim>
239
                                </taxonlabel>
240
                            </taxonlabel_id>
239
                                    </taxonlabel_id>
240
                                    <binomial>$ScientificNameOriginal</binomial>
241
                                    <family>$GBIFFamilyOriginal</family>
242
                                    <genus>$GBIFGenusOriginal</genus>
243
                                </taxonverbatim>
244
                            </taxonverbatim_id>
241 245
                        </taxondetermination>
242 246
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
243 247
                    </taxonoccurrence>
inputs/MT/Specimen/VegBIEN.csv
11 11
establishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_alt/2/_map:[cultivated=t,wild=f,*=]/value",
12 12
establishmentMeans,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
13 13
id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
14
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
15
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
16
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
17
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
18
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
19
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
20
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/family,
21
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/genus,
14
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
15
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
16
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
17
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
18
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
19
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
20
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
21
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
22 22
locality,/location/locationnarrative/_merge/1,
23 23
continent,/location/locationplace/*_id/placepath/continent,
24 24
basisOfRecord,,** No join mapping for basisOfRecord ** 
inputs/MT/Specimen/test.xml.ref
40 40
                        </isnative>
41 41
                        <sourceaccessioncode>$id</sourceaccessioncode>
42 42
                        <taxondetermination>
43
                            <taxonlabel_id>
44
                                <taxonlabel>
45
                                    <matched_label_id>
43
                            <taxonverbatim_id>
44
                                <taxonverbatim>
45
                                    <taxonlabel_id>
46 46
                                        <taxonlabel>
47
                                            <creator_id>
48
                                                <party>
49
                                                    <creator_id>0</creator_id>
50
                                                    <organizationname>TNRS</organizationname>
51
                                                </party>
52
                                            </creator_id>
53
                                            <taxonomicname>
54
                                                <_join_words>
55
                                                    <1>$family</1>
56
                                                    <2>$genus</2>
57
                                                </_join_words>
58
                                            </taxonomicname>
59
                                        </taxonlabel>
60
                                    </matched_label_id>
61
                                    <parent_id>
62
                                        <taxonlabel>
47
                                            <matched_label_id>
48
                                                <taxonlabel>
49
                                                    <creator_id>
50
                                                        <party>
51
                                                            <creator_id>0</creator_id>
52
                                                            <organizationname>TNRS</organizationname>
53
                                                        </party>
54
                                                    </creator_id>
55
                                                    <taxonomicname>
56
                                                        <_join_words>
57
                                                            <1>$family</1>
58
                                                            <2>$genus</2>
59
                                                        </_join_words>
60
                                                    </taxonomicname>
61
                                                </taxonlabel>
62
                                            </matched_label_id>
63 63
                                            <parent_id>
64 64
                                                <taxonlabel>
65
                                                    <rank>cultivar</rank>
66 65
                                                    <parent_id>
67 66
                                                        <taxonlabel>
68
                                                            <rank>forma</rank>
67
                                                            <rank>cultivar</rank>
69 68
                                                            <parent_id>
70 69
                                                                <taxonlabel>
71
                                                                    <rank>variety</rank>
70
                                                                    <rank>forma</rank>
72 71
                                                                    <parent_id>
73 72
                                                                        <taxonlabel>
74
                                                                            <rank>subspecies</rank>
73
                                                                            <rank>variety</rank>
75 74
                                                                            <parent_id>
76 75
                                                                                <taxonlabel>
77
                                                                                    <rank>species</rank>
76
                                                                                    <rank>subspecies</rank>
78 77
                                                                                    <parent_id>
79 78
                                                                                        <taxonlabel>
80
                                                                                            <rank>genus</rank>
81
                                                                                            <taxonepithet>$genus</taxonepithet>
79
                                                                                            <rank>species</rank>
82 80
                                                                                            <parent_id>
83 81
                                                                                                <taxonlabel>
84
                                                                                                    <rank>family</rank>
85
                                                                                                    <taxonepithet>$family</taxonepithet>
82
                                                                                                    <rank>genus</rank>
83
                                                                                                    <taxonepithet>$genus</taxonepithet>
84
                                                                                                    <parent_id>
85
                                                                                                        <taxonlabel>
86
                                                                                                            <rank>family</rank>
87
                                                                                                            <taxonepithet>$family</taxonepithet>
88
                                                                                                        </taxonlabel>
89
                                                                                                    </parent_id>
86 90
                                                                                                </taxonlabel>
87 91
                                                                                            </parent_id>
88 92
                                                                                        </taxonlabel>
......
97 101
                                                    </parent_id>
98 102
                                                </taxonlabel>
99 103
                                            </parent_id>
104
                                            <taxonomicname>
105
                                                <_join_words>
106
                                                    <1>$family</1>
107
                                                    <2>$genus</2>
108
                                                </_join_words>
109
                                            </taxonomicname>
100 110
                                        </taxonlabel>
101
                                    </parent_id>
102
                                    <taxonomicname>
103
                                        <_join_words>
104
                                            <1>$family</1>
105
                                            <2>$genus</2>
106
                                        </_join_words>
107
                                    </taxonomicname>
108
                                    <taxonverbatim>
109
                                        <family>$family</family>
110
                                        <genus>$genus</genus>
111
                                    </taxonverbatim>
112
                                </taxonlabel>
113
                            </taxonlabel_id>
111
                                    </taxonlabel_id>
112
                                    <family>$family</family>
113
                                    <genus>$genus</genus>
114
                                </taxonverbatim>
115
                            </taxonverbatim_id>
114 116
                        </taxondetermination>
115 117
                    </taxonoccurrence>
116 118
                </locationevent>
inputs/test_taxonomic_names/Taxon/VegBIEN.csv
1 1
test_taxonomic_names,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2 2
scientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
3
scientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
4
scientificNameID,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/sourceaccessioncode,
5
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
6
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/binomial,
3
scientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
4
scientificNameID,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/sourceaccessioncode,
5
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
6
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/binomial,
inputs/test_taxonomic_names/Taxon/test.xml.ref
7 7
                <locationevent>
8 8
                    <taxonoccurrence>
9 9
                        <taxondetermination>
10
                            <taxonlabel_id>
11
                                <taxonlabel>
12
                                    <matched_label_id>
10
                            <taxonverbatim_id>
11
                                <taxonverbatim>
12
                                    <taxonlabel_id>
13 13
                                        <taxonlabel>
14
                                            <creator_id>
15
                                                <party>
16
                                                    <creator_id>0</creator_id>
17
                                                    <organizationname>TNRS</organizationname>
18
                                                </party>
19
                                            </creator_id>
14
                                            <matched_label_id>
15
                                                <taxonlabel>
16
                                                    <creator_id>
17
                                                        <party>
18
                                                            <creator_id>0</creator_id>
19
                                                            <organizationname>TNRS</organizationname>
20
                                                        </party>
21
                                                    </creator_id>
22
                                                    <taxonomicname>$scientificName</taxonomicname>
23
                                                </taxonlabel>
24
                                            </matched_label_id>
25
                                            <sourceaccessioncode>$scientificNameID</sourceaccessioncode>
20 26
                                            <taxonomicname>$scientificName</taxonomicname>
21 27
                                        </taxonlabel>
22
                                    </matched_label_id>
23
                                    <sourceaccessioncode>$scientificNameID</sourceaccessioncode>
24
                                    <taxonomicname>$scientificName</taxonomicname>
25
                                    <taxonverbatim><binomial>$scientificName</binomial></taxonverbatim>
26
                                </taxonlabel>
27
                            </taxonlabel_id>
28
                                    </taxonlabel_id>
29
                                    <binomial>$scientificName</binomial>
30
                                </taxonverbatim>
31
                            </taxonverbatim_id>
28 32
                        </taxondetermination>
29 33
                    </taxonoccurrence>
30 34
                </locationevent>
inputs/XAL/Specimen/VegBIEN.csv
21 21
darwin:CollectorNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_first/1",
22 22
darwin:ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
23 23
darwin:IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
24
darwin:ScientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
25
darwin:Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
26
darwin:Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
27
darwin:Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
28
darwin:Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
29
darwin:ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/2",
30
darwin:DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
31
darwin:MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
32
darwin:YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
33
darwin:IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creator_id/_simplifyPath:[next=creator_id]/path/party/fullname/_alt/2,
34
darwin:Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet",
35
darwin:Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
36
darwin:Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
37
darwin:Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
38
darwin:Order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
39
darwin:Class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
40
darwin:Phylum,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=phylum]/taxonepithet",
41
darwin:Kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet",
42
darwin:ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
43
darwin:Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
44
darwin:Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
45
darwin:Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
46
darwin:Subspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
47
darwin:ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/2,
48
darwin:ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/author,
49
darwin:ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/binomial,
50
darwin:Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/family,
51
darwin:Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/genus,
52
darwin:Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/species,
24
darwin:ScientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
25
darwin:Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
26
darwin:Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
27
darwin:Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
28
darwin:Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
29
darwin:ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/2",
30
darwin:DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
31
darwin:MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
32
darwin:YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
33
darwin:IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creator_id/_simplifyPath:[next=creator_id]/path/party/fullname/_alt/2,
34
darwin:Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet",
35
darwin:Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
36
darwin:Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
37
darwin:Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
38
darwin:Order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
39
darwin:Class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
40
darwin:Phylum,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=phylum]/taxonepithet",
41
darwin:Kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet",
42
darwin:ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
43
darwin:Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
44
darwin:Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
45
darwin:Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
46
darwin:Subspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
47
darwin:ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/2,
48
darwin:ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/author,
49
darwin:ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/binomial,
50
darwin:Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
51
darwin:Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
52
darwin:Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species,
53 53
darwin:DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
54 54
darwin:MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
55 55
darwin:YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
inputs/TEAM/VL/VegBIEN.csv
20 20
1ha Plot Number,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
21 21
Tree Number,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_first/2",
22 22
Id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
23
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
24
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
25
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
26
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
27
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
28
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
29
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
30
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
31
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
32
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/family,
33
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/genus,
34
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/species,
23
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
24
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
25
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
26
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
27
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
28
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
29
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
30
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
31
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
32
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
33
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
34
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species,
35 35
Names of Collectors,/location/locationevent/taxonoccurrence/verbatimcollectorname,
36 36
Comments,,** No join mapping for *Comments ** 
37 37
Condition Codes,,** No join mapping for *Condition Codes ** 
inputs/TEAM/VL/test.xml.ref
42 42
                        <authortaxoncode>$Tree Number</authortaxoncode>
43 43
                        <sourceaccessioncode>$Id</sourceaccessioncode>
44 44
                        <taxondetermination>
45
                            <taxonlabel_id>
46
                                <taxonlabel>
47
                                    <matched_label_id>
45
                            <taxonverbatim_id>
46
                                <taxonverbatim>
47
                                    <taxonlabel_id>
48 48
                                        <taxonlabel>
49
                                            <creator_id>
50
                                                <party>
51
                                                    <creator_id>0</creator_id>
52
                                                    <organizationname>TNRS</organizationname>
53
                                                </party>
54
                                            </creator_id>
55
                                            <taxonomicname>
56
                                                <_join_words>
57
                                                    <1>$Family</1>
58
                                                    <2>$Genus</2>
59
                                                    <3>$Species</3>
60
                                                </_join_words>
61
                                            </taxonomicname>
62
                                        </taxonlabel>
63
                                    </matched_label_id>
64
                                    <parent_id>
65
                                        <taxonlabel>
49
                                            <matched_label_id>
50
                                                <taxonlabel>
51
                                                    <creator_id>
52
                                                        <party>
53
                                                            <creator_id>0</creator_id>
54
                                                            <organizationname>TNRS</organizationname>
55
                                                        </party>
56
                                                    </creator_id>
57
                                                    <taxonomicname>
58
                                                        <_join_words>
59
                                                            <1>$Family</1>
60
                                                            <2>$Genus</2>
61
                                                            <3>$Species</3>
62
                                                        </_join_words>
63
                                                    </taxonomicname>
64
                                                </taxonlabel>
65
                                            </matched_label_id>
66 66
                                            <parent_id>
67 67
                                                <taxonlabel>
68
                                                    <rank>cultivar</rank>
69 68
                                                    <parent_id>
70 69
                                                        <taxonlabel>
71
                                                            <rank>forma</rank>
70
                                                            <rank>cultivar</rank>
72 71
                                                            <parent_id>
73 72
                                                                <taxonlabel>
74
                                                                    <rank>variety</rank>
73
                                                                    <rank>forma</rank>
75 74
                                                                    <parent_id>
76 75
                                                                        <taxonlabel>
77
                                                                            <rank>subspecies</rank>
76
                                                                            <rank>variety</rank>
78 77
                                                                            <parent_id>
79 78
                                                                                <taxonlabel>
80
                                                                                    <rank>species</rank>
81
                                                                                    <taxonepithet>$Species</taxonepithet>
79
                                                                                    <rank>subspecies</rank>
82 80
                                                                                    <parent_id>
83 81
                                                                                        <taxonlabel>
84
                                                                                            <rank>genus</rank>
85
                                                                                            <taxonepithet>$Genus</taxonepithet>
82
                                                                                            <rank>species</rank>
83
                                                                                            <taxonepithet>$Species</taxonepithet>
86 84
                                                                                            <parent_id>
87 85
                                                                                                <taxonlabel>
88
                                                                                                    <rank>family</rank>
89
                                                                                                    <taxonepithet>$Family</taxonepithet>
86
                                                                                                    <rank>genus</rank>
87
                                                                                                    <taxonepithet>$Genus</taxonepithet>
88
                                                                                                    <parent_id>
89
                                                                                                        <taxonlabel>
90
                                                                                                            <rank>family</rank>
91
                                                                                                            <taxonepithet>$Family</taxonepithet>
92
                                                                                                        </taxonlabel>
93
                                                                                                    </parent_id>
90 94
                                                                                                </taxonlabel>
91 95
                                                                                            </parent_id>
92 96
                                                                                        </taxonlabel>
......
101 105
                                                    </parent_id>
102 106
                                                </taxonlabel>
103 107
                                            </parent_id>
108
                                            <taxonomicname>
109
                                                <_join_words>
110
                                                    <1>$Family</1>
111
                                                    <2>$Genus</2>
112
                                                    <3>$Species</3>
113
                                                </_join_words>
114
                                            </taxonomicname>
104 115
                                        </taxonlabel>
105
                                    </parent_id>
106
                                    <taxonomicname>
107
                                        <_join_words>
108
                                            <1>$Family</1>
109
                                            <2>$Genus</2>
110
                                            <3>$Species</3>
111
                                        </_join_words>
112
                                    </taxonomicname>
113
                                    <taxonverbatim>
114
                                        <family>$Family</family>
115
                                        <genus>$Genus</genus>
116
                                        <species>$Species</species>
117
                                    </taxonverbatim>
118
                                </taxonlabel>
119
                            </taxonlabel_id>
116
                                    </taxonlabel_id>
117
                                    <family>$Family</family>
118
                                    <genus>$Genus</genus>
119
                                    <species>$Species</species>
120
                                </taxonverbatim>
121
                            </taxonverbatim_id>
120 122
                        </taxondetermination>
121 123
                        <verbatimcollectorname>$Names of Collectors</verbatimcollectorname>
122 124
                    </taxonoccurrence>
inputs/TEAM/VT/VegBIEN.csv
20 20
1ha Plot Number,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
21 21
Tree Number,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_first/2",
22 22
Id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
23
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
24
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
25
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
26
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
27
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
28
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
29
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
30
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
31
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
32
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/family,
33
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/genus,
34
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/species,
23
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
24
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
25
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
26
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
27
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
28
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
29
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
30
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
31
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
32
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
33
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
34
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species,
35 35
Names of Collectors,/location/locationevent/taxonoccurrence/verbatimcollectorname,
36 36
Comments,,** No join mapping for *Comments ** 
37 37
Condition Codes,,** No join mapping for *Condition Codes ** 
inputs/TEAM/VT/test.xml.ref
42 42
                        <authortaxoncode>$Tree Number</authortaxoncode>
43 43
                        <sourceaccessioncode>$Id</sourceaccessioncode>
44 44
                        <taxondetermination>
45
                            <taxonlabel_id>
46
                                <taxonlabel>
47
                                    <matched_label_id>
45
                            <taxonverbatim_id>
46
                                <taxonverbatim>
47
                                    <taxonlabel_id>
48 48
                                        <taxonlabel>
49
                                            <creator_id>
50
                                                <party>
51
                                                    <creator_id>0</creator_id>
52
                                                    <organizationname>TNRS</organizationname>
53
                                                </party>
54
                                            </creator_id>
55
                                            <taxonomicname>
56
                                                <_join_words>
57
                                                    <1>$Family</1>
58
                                                    <2>$Genus</2>
59
                                                    <3>$Species</3>
60
                                                </_join_words>
61
                                            </taxonomicname>
62
                                        </taxonlabel>
63
                                    </matched_label_id>
64
                                    <parent_id>
65
                                        <taxonlabel>
49
                                            <matched_label_id>
50
                                                <taxonlabel>
51
                                                    <creator_id>
52
                                                        <party>
53
                                                            <creator_id>0</creator_id>
54
                                                            <organizationname>TNRS</organizationname>
55
                                                        </party>
56
                                                    </creator_id>
57
                                                    <taxonomicname>
58
                                                        <_join_words>
59
                                                            <1>$Family</1>
60
                                                            <2>$Genus</2>
61
                                                            <3>$Species</3>
62
                                                        </_join_words>
63
                                                    </taxonomicname>
64
                                                </taxonlabel>
65
                                            </matched_label_id>
66 66
                                            <parent_id>
67 67
                                                <taxonlabel>
68
                                                    <rank>cultivar</rank>
69 68
                                                    <parent_id>
70 69
                                                        <taxonlabel>
71
                                                            <rank>forma</rank>
70
                                                            <rank>cultivar</rank>
72 71
                                                            <parent_id>
73 72
                                                                <taxonlabel>
74
                                                                    <rank>variety</rank>
73
                                                                    <rank>forma</rank>
75 74
                                                                    <parent_id>
76 75
                                                                        <taxonlabel>
77
                                                                            <rank>subspecies</rank>
76
                                                                            <rank>variety</rank>
78 77
                                                                            <parent_id>
79 78
                                                                                <taxonlabel>
80
                                                                                    <rank>species</rank>
81
                                                                                    <taxonepithet>$Species</taxonepithet>
79
                                                                                    <rank>subspecies</rank>
82 80
                                                                                    <parent_id>
83 81
                                                                                        <taxonlabel>
84
                                                                                            <rank>genus</rank>
85
                                                                                            <taxonepithet>$Genus</taxonepithet>
82
                                                                                            <rank>species</rank>
83
                                                                                            <taxonepithet>$Species</taxonepithet>
86 84
                                                                                            <parent_id>
87 85
                                                                                                <taxonlabel>
88
                                                                                                    <rank>family</rank>
89
                                                                                                    <taxonepithet>$Family</taxonepithet>
86
                                                                                                    <rank>genus</rank>
87
                                                                                                    <taxonepithet>$Genus</taxonepithet>
88
                                                                                                    <parent_id>
89
                                                                                                        <taxonlabel>
90
                                                                                                            <rank>family</rank>
91
                                                                                                            <taxonepithet>$Family</taxonepithet>
92
                                                                                                        </taxonlabel>
93
                                                                                                    </parent_id>
90 94
                                                                                                </taxonlabel>
91 95
                                                                                            </parent_id>
92 96
                                                                                        </taxonlabel>
......
101 105
                                                    </parent_id>
102 106
                                                </taxonlabel>
103 107
                                            </parent_id>
108
                                            <taxonomicname>
109
                                                <_join_words>
110
                                                    <1>$Family</1>
111
                                                    <2>$Genus</2>
112
                                                    <3>$Species</3>
113
                                                </_join_words>
114
                                            </taxonomicname>
104 115
                                        </taxonlabel>
105
                                    </parent_id>
106
                                    <taxonomicname>
107
                                        <_join_words>
108
                                            <1>$Family</1>
109
                                            <2>$Genus</2>
110
                                            <3>$Species</3>
111
                                        </_join_words>
112
                                    </taxonomicname>
113
                                    <taxonverbatim>
114
                                        <family>$Family</family>
115
                                        <genus>$Genus</genus>
116
                                        <species>$Species</species>
117
                                    </taxonverbatim>
118
                                </taxonlabel>
119
                            </taxonlabel_id>
116
                                    </taxonlabel_id>
117
                                    <family>$Family</family>
118
                                    <genus>$Genus</genus>
119
                                    <species>$Species</species>
120
                                </taxonverbatim>
121
                            </taxonverbatim_id>
120 122
                        </taxondetermination>
121 123
                        <verbatimcollectorname>$Names of Collectors</verbatimcollectorname>
122 124
                    </taxonoccurrence>
inputs/NY/Specimen/VegBIEN.csv
26 26
ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
27 27
UniqueNYInternalRecordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
28 28
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
29
ScientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
30
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
31
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
32
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
33
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
34
ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/2",
35
DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
36
MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
37
YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
38
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/creator_id/_simplifyPath:[next=creator_id]/path/party/fullname/_alt/2,
39
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet",
40
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
41
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
42
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
43
Order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
44
Class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
45
Phylum,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=phylum]/taxonepithet",
46
Kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet",
47
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
48
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
49
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
50
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
51
Subspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
52
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/2,
53
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/author,
54
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/binomial,
55
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/family,
56
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/genus,
57
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonlabel/taxonverbatim/species,
29
ScientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/1",
30
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
31
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
32
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
33
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
34
ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/2",
35
DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
36
MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
37
YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
38
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creator_id/_simplifyPath:[next=creator_id]/path/party/fullname/_alt/2,
39
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet",
40
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
41
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
42
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
43
Order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
44
Class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
45
Phylum,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=phylum]/taxonepithet",
46
Kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet",
47
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/1,
48
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
49
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
50
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
51
Subspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
52
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_alt/2/_join_words/2,
53
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/author,
54
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/binomial,
55
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
56
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
57
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species,
58 58
DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
59 59
MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
60 60
YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
inputs/NY/Specimen/test.xml.ref
107 107
                        <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
108 108
                        <taxondetermination>
109 109
                            <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
110
                            <taxonlabel_id>
111
                                <taxonlabel>
112
                                    <matched_label_id>
110
                            <taxonverbatim_id>
111
                                <taxonverbatim>
112
                                    <taxonlabel_id>
113 113
                                        <taxonlabel>
114
                                            <matched_label_id>
115
                                                <taxonlabel>
116
                                                    <creator_id>
117
                                                        <party>
118
                                                            <creator_id>0</creator_id>
119
                                                            <organizationname>TNRS</organizationname>
120
                                                        </party>
121
                                                    </creator_id>
122
                                                    <taxonomicname>
123
                                                        <_join_words>
124
                                                            <1>
125
                                                                <_alt>
126
                                                                    <1>$ScientificName</1>
127
                                                                    <2>
128
                                                                        <_join_words>
129
                                                                            <1>$Family</1>
130
                                                                            <2>$Genus</2>
131
                                                                            <3>$Species</3>
132
                                                                            <4>$Subspecies</4>
133
                                                                        </_join_words>
134
                                                                    </2>
135
                                                                </_alt>
136
                                                            </1>
137
                                                            <2>$ScientificNameAuthor</2>
138
                                                        </_join_words>
139
                                                    </taxonomicname>
140
                                                </taxonlabel>
141
                                            </matched_label_id>
142
                                            <creationdate>
143
                                                <_date>
144
                                                    <day>
145
                                                        <_nullIf>
146
                                                            <null>0</null>
147
                                                            <type>float</type>
148
                                                            <value>$DayIdentified</value>
149
                                                        </_nullIf>
150
                                                    </day>
151
                                                    <month>
152
                                                        <_nullIf>
153
                                                            <null>0</null>
154
                                                            <type>float</type>
155
                                                            <value>$MonthIdentified</value>
156
                                                        </_nullIf>
157
                                                    </month>
158
                                                    <year>
159
                                                        <_nullIf>
160
                                                            <null>0</null>
161
                                                            <type>float</type>
162
                                                            <value>$YearIdentified</value>
163
                                                        </_nullIf>
164
                                                    </year>
165
                                                </_date>
166
                                            </creationdate>
114 167
                                            <creator_id>
115
                                                <party>
116
                                                    <creator_id>0</creator_id>
117
                                                    <organizationname>TNRS</organizationname>
118
                                                </party>
168
                                                <_simplifyPath>
169
                                                    <next>creator_id</next>
170
                                                    <path><party><fullname>$IdentifiedBy</fullname></party></path>
171
                                                </_simplifyPath>
119 172
                                            </creator_id>
120
                                            <taxonomicname>
121
                                                <_join_words>
122
                                                    <1>
123
                                                        <_alt>
124
                                                            <1>$ScientificName</1>
125
                                                            <2>
126
                                                                <_join_words>
127
                                                                    <1>$Family</1>
128
                                                                    <2>$Genus</2>
129
                                                                    <3>$Species</3>
130
                                                                    <4>$Subspecies</4>
131
                                                                </_join_words>
132
                                                            </2>
133
                                                        </_alt>
134
                                                    </1>
135
                                                    <2>$ScientificNameAuthor</2>
136
                                                </_join_words>
137
                                            </taxonomicname>
138
                                        </taxonlabel>
139
                                    </matched_label_id>
140
                                    <creationdate>
141
                                        <_date>
142
                                            <day>
143
                                                <_nullIf>
144
                                                    <null>0</null>
145
                                                    <type>float</type>
146
                                                    <value>$DayIdentified</value>
147
                                                </_nullIf>
148
                                            </day>
149
                                            <month>
150
                                                <_nullIf>
151
                                                    <null>0</null>
152
                                                    <type>float</type>
153
                                                    <value>$MonthIdentified</value>
154
                                                </_nullIf>
155
                                            </month>
156
                                            <year>
157
                                                <_nullIf>
158
                                                    <null>0</null>
159
                                                    <type>float</type>
160
                                                    <value>$YearIdentified</value>
161
                                                </_nullIf>
162
                                            </year>
163
                                        </_date>
164
                                    </creationdate>
165
                                    <creator_id>
166
                                        <_simplifyPath>
167
                                            <next>creator_id</next>
168
                                            <path><party><fullname>$IdentifiedBy</fullname></party></path>
169
                                        </_simplifyPath>
170
                                    </creator_id>
171
                                    <parent_id>
172
                                        <taxonlabel>
173 173
                                            <parent_id>
174 174
                                                <taxonlabel>
175
                                                    <rank>cultivar</rank>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff