Revision 6403
Added by Aaron Marcuse-Kubitza over 11 years ago
test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 |
<_simplifyPath id="-1"> |
|
4 |
<next>parent_id</next> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<col>source_id</col> |
|
5 |
<value><source><shortname>test_taxonomic_names</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<locationevent> |
|
8 |
<taxonoccurrence> |
|
9 |
<taxondetermination> |
|
10 |
<taxonverbatim_id> |
|
11 |
<taxonverbatim> |
|
12 |
<taxonlabel_id> |
|
13 |
<taxonlabel> |
|
14 |
<matched_label_id> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<location> |
|
11 |
<locationevent> |
|
12 |
<taxonoccurrence> |
|
13 |
<taxondetermination> |
|
14 |
<taxonverbatim_id> |
|
15 |
<taxonverbatim> |
|
16 |
<taxonlabel_id> |
|
15 | 17 |
<taxonlabel> |
16 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
18 |
<matched_label_id> |
|
19 |
<taxonlabel> |
|
20 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
21 |
<taxonomicname>$scientificName</taxonomicname> |
|
22 |
</taxonlabel> |
|
23 |
</matched_label_id> |
|
24 |
<sourceaccessioncode>$scientificNameID</sourceaccessioncode> |
|
17 | 25 |
<taxonomicname>$scientificName</taxonomicname> |
18 | 26 |
</taxonlabel> |
19 |
</matched_label_id> |
|
20 |
<sourceaccessioncode>$scientificNameID</sourceaccessioncode> |
|
21 |
<taxonomicname>$scientificName</taxonomicname> |
|
22 |
</taxonlabel> |
|
23 |
</taxonlabel_id> |
|
24 |
<taxonname>$scientificName</taxonname> |
|
25 |
</taxonverbatim> |
|
26 |
</taxonverbatim_id> |
|
27 |
</taxondetermination> |
|
28 |
</taxonoccurrence> |
|
29 |
</locationevent> |
|
30 |
</location> |
|
27 |
</taxonlabel_id> |
|
28 |
<taxonname>$scientificName</taxonname> |
|
29 |
</taxonverbatim> |
|
30 |
</taxonverbatim_id> |
|
31 |
</taxondetermination> |
|
32 |
</taxonoccurrence> |
|
33 |
</locationevent> |
|
34 |
</location> |
|
35 |
</path> |
|
36 |
</_simplifyPath> |
|
31 | 37 |
</path> |
32 |
</_simplifyPath>
|
|
38 |
</_setDefault>
|
|
33 | 39 |
</VegBIEN> |
34 | 40 |
Inserted 8 new rows into database |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Set the source_id col_default to the datasource name using the new _setDefault() built-in function and _env()