Project

General

Profile

« Previous | Next » 

Revision 2013

mappings/VegX-VegBIEN.stems.csv: Added _collapse around subtrees that need to be removed if they are created around a NULL value

View differences:

VegBIEN.stems.csv
1 1
SALVIAS:stems,VegBIEN:/stemobservation,Comments
2 2
PlotObsID,"/*_id/plantobservation/aggregateoccurrence/*_id/taxonoccurrence/_if:[cond/_eq:[left=$../../../_ignore/voucherType,right=direct]]/{then/specimenreplicate,else/voucher/*_id/specimenreplicate:[*_id/taxonoccurrence]}/:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/catalognumber_dwc",
3 3
NoInd,/*_id/plantobservation/stemcount,
4
stem_tag1,"/_collapse:[require=tag](/value/stemtag[""""/iscurrent/_alt/2=true])/tag",Quotes sort it before tag2
5
stem_tag2,/_collapse:[require=tag](/value/stemtag[iscurrent=true]:[../../../_collapse?(/value/stemtag[iscurrent/_alt/2=true])/iscurrent/_alt/1=false])/tag,
4 6
basal_diam,/basaldiameter,
5 7
stem_canopy_form,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",
6 8
stem_canopy_position,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyPosition]]:[@fkey=tablerecord_id]/definedvalue",
......
10 12
stem_dbh,/diameterbreastheight,
11 13
stem_height_m,/height,
12 14
stem_height_first_branch_m,/heightfirstbranch,
13
stem_tag1,"/stemtag[""""/iscurrent/_alt/2=true]/tag",Quotes sort it before tag2
14
stem_tag2,/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,
15 15
origrecord_id_stems,,** No input mapping for origrecord_id_stems ** 
16 16
stem_id,,** No input mapping for stem_id ** 
17 17
tmp_del,,** No input mapping for tmp_del ** 

Also available in: Unified diff