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>VegBank</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<locationevent> |
|
8 |
<taxonoccurrence> |
|
9 |
<aggregateoccurrence> |
|
10 |
<plantobservation> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<location> |
|
11 |
<locationevent> |
|
12 |
<taxonoccurrence> |
|
13 |
<aggregateoccurrence> |
|
14 |
<plantobservation> |
|
15 |
<sourceaccessioncode>$stemcount_id</sourceaccessioncode> |
|
16 |
<stemobservation> |
|
17 |
<authorstemcode>$stemcode</authorstemcode> |
|
18 |
<sourceaccessioncode>$stemlocation_id</sourceaccessioncode> |
|
19 |
<xposition_m>$stemxposition</xposition_m> |
|
20 |
<yposition_m>$stemyposition</yposition_m> |
|
21 |
</stemobservation> |
|
22 |
</plantobservation> |
|
23 |
</aggregateoccurrence> |
|
11 | 24 |
<sourceaccessioncode>$stemcount_id</sourceaccessioncode> |
12 |
<stemobservation> |
|
13 |
<authorstemcode>$stemcode</authorstemcode> |
|
14 |
<sourceaccessioncode>$stemlocation_id</sourceaccessioncode> |
|
15 |
<xposition_m>$stemxposition</xposition_m> |
|
16 |
<yposition_m>$stemyposition</yposition_m> |
|
17 |
</stemobservation> |
|
18 |
</plantobservation> |
|
19 |
</aggregateoccurrence> |
|
20 |
<sourceaccessioncode>$stemcount_id</sourceaccessioncode> |
|
21 |
</taxonoccurrence> |
|
22 |
</locationevent> |
|
23 |
</location> |
|
25 |
</taxonoccurrence> |
|
26 |
</locationevent> |
|
27 |
</location> |
|
28 |
</path> |
|
29 |
</_simplifyPath> |
|
24 | 30 |
</path> |
25 |
</_simplifyPath>
|
|
31 |
</_setDefault>
|
|
26 | 32 |
</VegBIEN> |
27 | 33 |
Inserted 9 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()