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
1 1
TEAM,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
Subplot Number,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
2
Subplot Number,"/location/_if[@name=""if subplot""]/cond/_exists",
3 3
1ha Plot Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 4
Id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
5 5
1ha Plot Number,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
......
8 8
Longitude,"/location/locationcoords/longitude_deg/_nullIf:[null=0,type=float]/value",
9 9
Spatial Method,/location/locationevent/*_id/method/name,
10 10
Site Name,/location/locationevent/*_id/project/projectname,
11
Subplot Number,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
11
Subplot Number,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",
12 12
1ha Plot Number,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
13 13
Observation Date,/location/locationevent/obsenddate/_*/date/_alt/2/_dateRangeEnd/value,
14 14
Observation Date,/location/locationevent/obsstartdate/_*/date/_alt/2/_dateRangeStart/value,

Also available in: Unified diff