Revision 3229
Added by Aaron Marcuse-Kubitza over 12 years ago
VegX-VegBIEN.stems.csv | ||
---|---|---|
1 | 1 |
"VegX::[@xmlns:tcs=""http://www.tdwg.org/schemas/tcs/1.01""]/*s/individualOrganismObservation[relatedIndividual/relatedItem[itemRelationship=stemParent]/relatedItemID]",VegBIEN:/stemobservation,Comments |
2 |
//individualOrganismObservation/simpleUserdefined[name=sourceAccessionCode]/value,"/*_id/plantobservation/""""/{sourceaccessioncode,_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/{then/specimenreplicate,else/aggregateoccurrence/*_id/taxonoccurrence/voucher/*_id/specimenreplicate}//sourceaccessioncode}",Quotes sort it with other _ifs |
|
2 | 3 |
//taxonNameUsageConcept/voucher,"//*_id/plantobservation/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/{then/specimenreplicate,else/aggregateoccurrence/*_id/taxonoccurrence/voucher/*_id/specimenreplicate}//catalognumber_dwc", |
3 | 4 |
//individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,"//*_id/plantobservation/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/{then/specimenreplicate,else/aggregateoccurrence/*_id/taxonoccurrence/voucher/*_id/specimenreplicate}//collectiondate", |
4 | 5 |
//party/organizationName,"//*_id/plantobservation/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/{then/specimenreplicate,else/aggregateoccurrence/*_id/taxonoccurrence/voucher/*_id/specimenreplicate}//datasource_id/party/organizationname/_alt/1", |
... | ... | |
85 | 86 |
//relativePlotPosition/relativeX,//stemobservation/xposition, |
86 | 87 |
//relativePlotPosition/relativeY,//stemobservation/yposition, |
87 | 88 |
//*s/taxonDetermination[role=collector]/groupType,/*_id/plantobservation/{.}/_ignore/voucherType,"""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
88 |
//individualOrganismObservation/simpleUserdefined[name=sourceAccessionCode]/value,"/*_id/plantobservation/{sourceaccessioncode,_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/{then/specimenreplicate,else/aggregateoccurrence/*_id/taxonoccurrence/voucher/*_id/specimenreplicate}//sourceaccessioncode}", |
|
89 | 89 |
/diameterBaseDistance[value=0]/diameter,/basaldiameter, |
90 | 90 |
/simpleUserdefined[name=canopyForm]/value,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]/definedvalue", |
91 | 91 |
/simpleUserdefined[name=canopyPosition]/value,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyPosition]]/definedvalue", |
Also available in: Unified diff
mappings/VegX-VegBIEN.stems.csv: Sort the plantobservation.sourceaccessioncode/specimenreplicate.sourceaccessioncode mapping with the other _ifs so the adjacent node merging works properly and it gets created before _ignore removes voucherType