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:

VegCore-VegBIEN.csv
1 1
VegCore,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
subplotID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
3
subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
2
subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
4 3
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
5 4
locationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
6 5
fieldNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/else",
......
38 37
samplingProtocol,/location/locationevent/*_id/method/name,
39 38
projectName,/location/locationevent/*_id/project/projectname,
40 39
projectID,/location/locationevent/*_id/project/sourceaccessioncode,
41
subplotID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/1",
42
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
40
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",
41
subplotID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",
43 42
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
44 43
eventID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
45
eventID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/1",
46
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/2",
44
eventID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists",
45
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists",
47 46
plotName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
48 47
locationID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode",
49 48
fieldNumber,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/authorlocationcode",
......
190 189
subplotY,/location/sublocationyposition_m,
191 190
verbatimElevation,/location/verbatimelevation,
192 191
verbatimElevation_m,/location/verbatimelevation,
192
subplotID,VegBIEN:/_simplifyPath:[next=parent_id]/path,
193 193
OMIT,,
194 194
PRIVATE,,
195 195
UNUSED,,

Also available in: Unified diff