Project

General

Profile

« Previous | Next » 

Revision 4987

mappings/VegCore-VegBIEN.csv: Removed unnecessary /_first/# suffix for multiple terms in the same _exists expression, because _exists() only checks whether its node is non-empty, and it does not matter how many child nodes it contains

View differences:

VegBIEN.csv
4 4
publicLatitude,"/location/locationcoords/latitude_deg/_nullIf:[null=0,type=float]/value",
5 5
publicLongitude,"/location/locationcoords/longitude_deg/_nullIf:[null=0,type=float]/value",
6 6
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
7
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/2",
7
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists",
8 8
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/authorlocationcode",
9 9
obsStartDate,/location/locationevent/obsstartdate/_*/date/_alt/1,
10 10
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_fraction/_percent_to_fraction/value,

Also available in: Unified diff