Project

General

Profile

« Previous | Next » 

Revision 6855

inputs/*/Source/map.csv without mappings: Added referenceType, etc. mappings. This also ensures that the source table entry for the datasource will be created before the herbaria list is imported, causing all top-level datasources to sort at the top of the source table.

View differences:

inputs/bien_web/Source/VegBIEN.csv
1 1
bien_web,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:plot,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:aggregator,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:plot,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/analytical_db/Source/map.csv
1 1
analytical_db,VegCore,Filter,Comments
2
:aggregator,referenceType,,
3
:plot,observationType,,
inputs/U/Source/VegBIEN.csv
1 1
U,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/QFA/Source/map.csv
1 1
QFA,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/QFA/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>QFA</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>QFA</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/UBC/Source/VegBIEN.csv
1 1
UBC,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/bien_web/Source/map.csv
1 1
bien_web,VegCore,Filter,Comments
2
:aggregator,referenceType,,
3
:plot,observationType,,
inputs/bien_web/observation/new_terms.csv
1 1
observationID,occurrenceID,,
2 2
dataSourceName,institutionCode,,
3
taxon,scientificName,,
4 3
taxonAuthor,scientificNameAuthorship,,
5 4
taxonMorphospecies,scientificNameWithMorphospecies,,
6 5
countyParish,county,,
inputs/analytical_db/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>analytical_db</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>analytical_db</shortname>
11
                        <observationtype>plot</observationtype>
12
                        <sourcetype>aggregator</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/MT/Source/map.csv
1 1
MT,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/MT/Source/VegBIEN.csv
1 1
MT,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/MT/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>MT</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>MT</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/test_taxonomic_names/Source/map.csv
1 1
test_taxonomic_names,VegCore,Filter,Comments
2
:personal communication,referenceType,,
inputs/test_taxonomic_names/Source/VegBIEN.csv
1 1
test_taxonomic_names,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:personal communication,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
inputs/test_taxonomic_names/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>test_taxonomic_names</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>test_taxonomic_names</shortname>
11
                        <sourcetype>personal communication</sourcetype>
12
                    </source>
13
                </path>
14
            </_simplifyPath>
15
        </path>
16
    </_setDefault>
17
</VegBIEN>
18
Inserted 0 new rows into database
inputs/XAL/Source/map.csv
1 1
XAL,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/XAL/Source/VegBIEN.csv
1 1
XAL,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/XAL/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>XAL</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>XAL</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/.geoscrub/Source/map.csv
1 1
geoscrub,VegCore,Filter,Comments
2
:aggregator,referenceType,,
inputs/.geoscrub/Source/VegBIEN.csv
1 1
geoscrub,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:aggregator,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
inputs/.geoscrub/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>geoscrub</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>geoscrub</shortname>
11
                        <sourcetype>aggregator</sourcetype>
12
                    </source>
13
                </path>
14
            </_simplifyPath>
15
        </path>
16
    </_setDefault>
17
</VegBIEN>
18
Inserted 0 new rows into database
inputs/ACAD/Source/map.csv
1 1
ACAD,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/ACAD/Source/VegBIEN.csv
1 1
ACAD,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/ACAD/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>ACAD</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>ACAD</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/.NCBI/Source/map.csv
1 1
NCBI,VegCore,Filter,Comments
2
:primary database,referenceType,,
inputs/.NCBI/Source/VegBIEN.csv
1 1
NCBI,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:primary database,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
inputs/.NCBI/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>NCBI</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>NCBI</shortname>
11
                        <sourcetype>primary database</sourcetype>
12
                    </source>
13
                </path>
14
            </_simplifyPath>
15
        </path>
16
    </_setDefault>
17
</VegBIEN>
18
Inserted 0 new rows into database
inputs/WIN/Source/map.csv
1 1
WIN,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/WIN/Source/VegBIEN.csv
1 1
WIN,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/WIN/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>WIN</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>WIN</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/newWorld/Source/map.csv
1 1
newWorld,VegCore,Filter,Comments
2
:primary database,referenceType,,
inputs/newWorld/Source/VegBIEN.csv
1 1
newWorld,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:primary database,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
inputs/newWorld/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>newWorld</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>newWorld</shortname>
11
                        <sourcetype>primary database</sourcetype>
12
                    </source>
13
                </path>
14
            </_simplifyPath>
15
        </path>
16
    </_setDefault>
17
</VegBIEN>
18
Inserted 0 new rows into database
inputs/U/Source/map.csv
1 1
U,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/U/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>U</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>U</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/QFA/Source/VegBIEN.csv
1 1
QFA,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/UBC/Source/map.csv
1 1
UBC,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/UBC/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>UBC</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>UBC</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/bien_web/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>bien_web</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>bien_web</shortname>
11
                        <observationtype>plot</observationtype>
12
                        <sourcetype>aggregator</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/analytical_db/Source/VegBIEN.csv
1 1
analytical_db,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:plot,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:aggregator,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:plot,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/NY/Source/map.csv
1 1
NY,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/UNCC/Source/VegBIEN.csv
1 1
UNCC,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/.herbaria/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>herbaria</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>herbaria</shortname>
11
                        <sourcetype>primary database</sourcetype>
12
                    </source>
13
                </path>
14
            </_simplifyPath>
15
        </path>
16
    </_setDefault>
17
</VegBIEN>
18
Inserted 0 new rows into database
inputs/.TNRS/Source/map.csv
1 1
TNRS,VegCore,Filter,Comments
2
:aggregator,referenceType,,
inputs/ARIZ/Source/VegBIEN.csv
1 1
ARIZ,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/TRT/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>TRT</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>TRT</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/TRTE/Source/map.csv
1 1
TRTE,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/UNCC/Source/map.csv
1 1
UNCC,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/.herbaria/Source/VegBIEN.csv
1 1
herbaria,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:primary database,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
inputs/IUCN/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>IUCN</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>IUCN</shortname>
11
                        <sourcetype>primary database</sourcetype>
12
                    </source>
13
                </path>
14
            </_simplifyPath>
15
        </path>
16
    </_setDefault>
17
</VegBIEN>
18
Inserted 0 new rows into database
inputs/ARIZ/Source/map.csv
1 1
ARIZ,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/TRT/Source/VegBIEN.csv
1 1
TRT,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/MO/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>MO</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>MO</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/NY/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>NY</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>NY</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/.herbaria/Source/map.csv
1 1
herbaria,VegCore,Filter,Comments
2
:primary database,referenceType,,
inputs/IUCN/Source/VegBIEN.csv
1 1
IUCN,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:primary database,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
inputs/.TNRS/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>TNRS</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>TNRS</shortname>
11
                        <sourcetype>aggregator</sourcetype>
12
                    </source>
13
                </path>
14
            </_simplifyPath>
15
        </path>
16
    </_setDefault>
17
</VegBIEN>
18
Inserted 0 new rows into database
inputs/TRT/Source/map.csv
1 1
TRT,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/MO/Source/VegBIEN.csv
1 1
MO,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/TRTE/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>TRTE</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>TRTE</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/NY/Source/VegBIEN.csv
1 1
NY,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
inputs/UNCC/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>UNCC</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>UNCC</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/IUCN/Source/map.csv
1 1
IUCN,VegCore,Filter,Comments
2
:primary database,referenceType,,
inputs/.TNRS/Source/VegBIEN.csv
1 1
TNRS,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:aggregator,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
inputs/ARIZ/Source/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>ARIZ</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <source>
10
                        <shortname>ARIZ</shortname>
11
                        <observationtype>specimen</observationtype>
12
                        <sourcetype>herbarium</sourcetype>
13
                    </source>
14
                </path>
15
            </_simplifyPath>
16
        </path>
17
    </_setDefault>
18
</VegBIEN>
19
Inserted 0 new rows into database
inputs/MO/Source/map.csv
1 1
MO,VegCore,Filter,Comments
2
:herbarium,referenceType,,
3
:specimen,observationType,,
inputs/TRTE/Source/VegBIEN.csv
1 1
TRTE,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
:specimen,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
3
:herbarium,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
4
:specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",

Also available in: Unified diff