Revision 3641
Added by Aaron Marcuse-Kubitza over 12 years ago
import.specimens.out.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_ignore><inLabel>MT</inLabel></_ignore> |
|
4 |
<specimenreplicate id="-1"> |
|
5 |
<datasource_id><party><organizationname><_alt><2>MT</2></_alt></organizationname></party></datasource_id> |
|
6 |
<locationevent_id> |
|
7 |
<locationevent> |
|
8 |
<location_id> |
|
9 |
<location> |
|
10 |
<datasource_id><party><organizationname><_alt><2>MT</2></_alt></organizationname></party></datasource_id> |
|
11 |
<locationdetermination> |
|
12 |
<namedplace_id> |
|
13 |
<_simplifyPath> |
|
14 |
<next>parent_id/namedplace</next> |
|
15 |
<require>placename</require> |
|
16 |
<path> |
|
17 |
<namedplace> |
|
18 |
<rank>county</rank> |
|
19 |
<parent_id> |
|
20 |
<namedplace> |
|
21 |
<rank>stateProvince</rank> |
|
22 |
<parent_id> |
|
23 |
<namedplace> |
|
24 |
<rank>country</rank> |
|
25 |
<parent_id> |
|
26 |
<namedplace> |
|
27 |
<rank>continent</rank> |
|
28 |
<placename>$continent</placename> |
|
29 |
</namedplace> |
|
30 |
</parent_id> |
|
31 |
</namedplace> |
|
32 |
</parent_id> |
|
33 |
</namedplace> |
|
34 |
</parent_id> |
|
35 |
</namedplace> |
|
36 |
</path> |
|
37 |
</_simplifyPath> |
|
38 |
</namedplace_id> |
|
39 |
</locationdetermination> |
|
40 |
<locationnarrative><_merge><1>$locality</1></_merge></locationnarrative> |
|
41 |
<sourceaccessioncode> |
|
42 |
<_alt> |
|
43 |
<2> |
|
44 |
<_merge> |
|
45 |
<2>$collectionCode</2> |
|
46 |
<1>$institutionCode</1> |
|
47 |
</_merge> |
|
48 |
</2> |
|
49 |
<1>$id</1> |
|
50 |
</_alt> |
|
51 |
</sourceaccessioncode> |
|
52 |
</location> |
|
53 |
</location_id> |
|
54 |
</locationevent> |
|
55 |
</locationevent_id> |
|
56 |
<collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber> |
|
57 |
<taxondetermination> |
|
58 |
<isoriginal>true</isoriginal> |
|
59 |
<iscurrent>true</iscurrent> |
|
60 |
<role>identifier</role> |
|
61 |
<plantconcept_id> |
|
62 |
<plantconcept> |
|
63 |
<plantname_id> |
|
64 |
<_simplifyPath> |
|
65 |
<next>parent_id/plantname</next> |
|
66 |
<require>plantname</require> |
|
67 |
<path> |
|
68 |
<plantname> |
|
69 |
<rank>binomial</rank> |
|
70 |
<parent_id> |
|
71 |
<plantname> |
|
72 |
<rank>authority</rank> |
|
73 |
<parent_id> |
|
74 |
<plantname> |
|
75 |
<rank>subspecies</rank> |
|
76 |
<parent_id> |
|
77 |
<plantname> |
|
78 |
<rank>species</rank> |
|
79 |
<parent_id> |
|
80 |
<plantname> |
|
81 |
<rank>genus</rank> |
|
82 |
<plantname>$genus</plantname> |
|
83 |
<parent_id> |
|
84 |
<plantname> |
|
85 |
<rank>family</rank> |
|
86 |
<plantname>$family</plantname> |
|
87 |
</plantname> |
|
88 |
</parent_id> |
|
89 |
</plantname> |
|
90 |
</parent_id> |
|
91 |
</plantname> |
|
92 |
</parent_id> |
|
93 |
</plantname> |
|
94 |
</parent_id> |
|
95 |
</plantname> |
|
96 |
</parent_id> |
|
97 |
</plantname> |
|
98 |
</path> |
|
99 |
</_simplifyPath> |
|
100 |
</plantname_id> |
|
101 |
</plantconcept> |
|
102 |
</plantconcept_id> |
|
103 |
</taxondetermination> |
|
104 |
<collectioncode_dwc>$collectionCode</collectioncode_dwc> |
|
105 |
<growthform> |
|
106 |
<_map> |
|
107 |
<tree>*</tree> |
|
108 |
<shrub>*</shrub> |
|
109 |
<liana>*</liana> |
|
110 |
<vine>*</vine> |
|
111 |
<herb>*</herb> |
|
112 |
<hemiepiphyte>*</hemiepiphyte> |
|
113 |
<epiphyte>*</epiphyte> |
|
114 |
<grass>*</grass> |
|
115 |
<forb>*</forb> |
|
116 |
<moss>*</moss> |
|
117 |
<lichen>*</lichen> |
|
118 |
<fungus>*</fungus> |
|
119 |
<floating aquatic>*</floating aquatic> |
|
120 |
<submerged aquatic>*</submerged aquatic> |
|
121 |
<*></*> |
|
122 |
<value>$establishmentMeans</value> |
|
123 |
</_map> |
|
124 |
</growthform> |
|
125 |
<iscultivated> |
|
126 |
<_map> |
|
127 |
<cultivated>t</cultivated> |
|
128 |
<wild>f</wild> |
|
129 |
<*></*> |
|
130 |
<value>$establishmentMeans</value> |
|
131 |
</_map> |
|
132 |
</iscultivated> |
|
133 |
<isnative> |
|
134 |
<_map> |
|
135 |
<native>t</native> |
|
136 |
<exotic>f</exotic> |
|
137 |
<*></*> |
|
138 |
<value>$establishmentMeans</value> |
|
139 |
</_map> |
|
140 |
</isnative> |
|
141 |
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id> |
|
142 |
<sourceaccessioncode>$id</sourceaccessioncode> |
|
143 |
</specimenreplicate> |
|
144 |
</VegBIEN> |
|
1 | 145 |
Inserted 16 new rows into database |
Also available in: Unified diff
bin/map: out_is_db: Output the put template to stdout so it will be validated in the automated testing