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
Madidi,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
Number of subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
2
Number of subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
3 3
Inventory name,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 4
Inventory code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
5 5
Specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
......
9 9
Inventory code,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
10 10
Number of subplot,/location/authorlocationcode,
11 11
Expedition,/location/locationevent/*_id/project/projectname,
12
Number of subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
12
Number of subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",
13 13
Inventory name,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
14 14
Inventory code,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode",
15 15
Observations,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,

Also available in: Unified diff