Project

General

Profile

« Previous | Next » 

Revision 2109

xpath.py: get(): Create attrs: Fixed bug where attrs were created with last_only on, which caused attrs to get created multiple times if there were multiple attrs of the same name but different values, becase the last_only optimization would only check the last attr of that name

View differences:

VegBIEN.specimens.xml.ref
36 36
                                    <longitude>-35.1385666667</longitude>
37 37
                                </locationdetermination>
38 38
                                <locationnarrative>Reserva Biol&#243;gica Guaribas-Pr&#243;ximo a trilha Caiana.</locationnarrative>
39
                                <elevation/>
40
                                <elevationrange/>
39
                                <elevation>181.0</elevation>
40
                                <elevationrange>0.0</elevationrange>
41 41
                                <centerlatitude>-6.73845</centerlatitude>
42 42
                                <centerlongitude>-35.1385666667</centerlongitude>
43 43
                            </location>

Also available in: Unified diff