Revision 4324
Added by Aaron Marcuse-Kubitza almost 12 years ago
test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<sourceaccessioncode>$Inventory code</sourceaccessioncode> |
|
4 | 5 |
<area>$Area</area> |
5 | 6 |
<authorlocationcode>$Inventory name</authorlocationcode> |
6 | 7 |
<elevation> |
... | ... | |
149 | 150 |
</_compass> |
150 | 151 |
</slopeaspect> |
151 | 152 |
<slopegradient>$Slope</slopegradient> |
152 |
<sourceaccessioncode>$Inventory code</sourceaccessioncode> |
|
153 | 153 |
</location> |
154 | 154 |
</VegBIEN> |
155 | 155 |
Inserted 19 new rows into database |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Moved "if subplot" _if statement around /location/parent_id and /location/sourceaccessioncode themselves, so that only one _if cond mapping for subplot is needed. Note that this is only possible because this _if statement uses _exists, allowing it to be fully evaluated by the XML template simplifying mechanism, which supports subtrees as arguments to _if.