Project

General

Profile

« Previous | Next » 

Revision 6409

mappings/VegCore-VegBIEN.csv: source table mappings: Set shortname to env var $source when it's not explicitly specified, because shortname is a required field of source

View differences:

VegCore-VegBIEN.csv
1 1
VegCore,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
catalogNumber,"/_if[@name=""if specimen""]/cond/_exists",
3
occurrenceID,"/_if[@name=""if specimen""]/cond/_exists",
4
institutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
5
referenceType,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
2 6
subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
3 7
subplotID,"/location/_if[@name=""if subplot""]/cond/_exists",
4 8
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
......
386 390
subplotY,/location/sublocationyposition_m,
387 391
verbatimElevation,/location/verbatimelevation,
388 392
verbatimElevation_m,/location/verbatimelevation,
389
catalogNumber,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
390
occurrenceID,"/source/shortname/_if[@name=""if specimen""]/cond/_exists",
391
institutionCode,"/source/shortname/_if[@name=""if specimen""]/else",
392
referenceType,/source/sourcetype,
393 393
OMIT,,
394 394
PRIVATE,,
395 395
UNUSED,,

Also available in: Unified diff