Project

General

Profile

« Previous | Next » 

Revision 4333

mappings/VegCore-VegBIEN.csv: location.authorlocationcode mappings: Placed inside "if subplot" _if statement along with sourceaccessioncode to reduce the number of separate _if statements needing a condition mapping

View differences:

test.xml.ref
7 7
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
8 8
            </location>
9 9
        </parent_id>
10
        <authorlocationcode>
11
            <_alt>
12
                <1>$subplot</1>
13
                <4>
14
                    <_if name="if indirect voucher">
15
                        <cond>
16
                            <_eq>
17
                                <right>indirect</right>
18
                                <left>$det_type</left>
19
                            </_eq>
20
                        </cond>
21
                        <else>
22
                            <_alt>
23
                                <1>$coll_number</1>
24
                                <2>$voucher_string</2>
25
                            </_alt>
26
                        </else>
27
                    </_if>
28
                </4>
29
            </_alt>
30
        </authorlocationcode>
10
        <authorlocationcode>$subplot</authorlocationcode>
31 11
        <locationevent>
32 12
            <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
33 13
            <taxonoccurrence>

Also available in: Unified diff