Project

General

Profile

« Previous | Next » 

Revision 4340

mappings/VegCore-VegBIEN.csv: Redirect eventID, fieldNumber (authoreventcode) to parent locationevent when subplot columns exist

View differences:

VegBIEN.csv
3 3
PlotCensusNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/else",
4 4
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
5 5
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
6
PlotCensusNumber,/location/locationevent/authoreventcode,
6
PlotCensusNumber,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
7
CensusID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
8
PlotCensusNumber,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/authorlocationcode",
9
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/parent_id/locationevent/sourceaccessioncode",
7 10
EndDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value,
8 11
StartDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value,
9
CensusID,/location/locationevent/sourceaccessioncode,

Also available in: Unified diff