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>herbaria</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<source> |
|
7 |
<shortname>$herbariumAcronym</shortname> |
|
8 |
<sourcetype>herbarium</sourcetype> |
|
9 |
</source> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<source> |
|
11 |
<shortname>$herbariumAcronym</shortname> |
|
12 |
<sourcetype>herbarium</sourcetype> |
|
13 |
</source> |
|
14 |
</path> |
|
15 |
</_simplifyPath> |
|
10 | 16 |
</path> |
11 |
</_simplifyPath>
|
|
17 |
</_setDefault>
|
|
12 | 18 |
</VegBIEN> |
13 | 19 |
Inserted 3 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()