Project

General

Profile

« Previous | Next » 

Revision 12000

mappings/VegCore-VegBIEN.csv: event__participant: allow multiple event__participant columns

View differences:

trunk/mappings/VegCore-VegBIEN.csv
307 307
accessionNumber,"/location/locationevent/locationevent:[@fkey=parent_id]/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
308 308
voucherType,"/location/locationevent/locationevent:[@fkey=parent_id]/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
309 309
collectorNumber,"/location/locationevent/locationevent:[@fkey=parent_id]/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",
310
event__participant,/location/locationevent/locationeventcontributor/*_id/party/fullname,
310
event__participant,/location/locationevent/locationeventcontributor[!*_id/party]/*_id/party/fullname,use [!...] negative lookahead assertion so that multiple event__participant columns will properly map to separate locationeventcontributor rows
311 311
endDate,/location/locationevent/obsenddate/_alt/1,
312 312
eventDate,/location/locationevent/obsenddate/_alt/2/_dateRangeEnd/value,
313 313
startDate,/location/locationevent/obsstartdate/_alt/1,
trunk/mappings/for_review/VegCore-VegBIEN.csv
307 307
accessionNumber,"//specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
308 308
voucherType,"//specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/cond",
309 309
collectorNumber,"//specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",
310
event__participant,//party/fullname,
310
event__participant,//locationevent/locationeventcontributor[]/*_id/party/fullname,use [!...] negative lookahead assertion so that multiple event__participant columns will properly map to separate locationeventcontributor rows
311 311
endDate,//locationevent/obsenddate,
312 312
eventDate,//locationevent/obsenddate,
313 313
startDate,//locationevent/obsstartdate,

Also available in: Unified diff