Project

General

Profile

« Previous | Next » 

Revision 774

xml_dom.py: Print simple XML elements on one line

View differences:

NYBG.organisms.VegX.xml
19 19
        </individualOrganismObservation>
20 20
    </individualOrganismObservations>
21 21
    <individualOrganisms>
22
        <individualOrganism id="0">
23
            <taxonNameUsageConceptsID>0</taxonNameUsageConceptsID>
24
        </individualOrganism>
25
        <individualOrganism id="1">
26
            <taxonNameUsageConceptsID>1</taxonNameUsageConceptsID>
27
        </individualOrganism>
22
        <individualOrganism id="0"><taxonNameUsageConceptsID>0</taxonNameUsageConceptsID></individualOrganism>
23
        <individualOrganism id="1"><taxonNameUsageConceptsID>1</taxonNameUsageConceptsID></individualOrganism>
28 24
    </individualOrganisms>
29 25
    <taxonNameUsageConcepts>
30 26
        <taxonNameUsageConcept id="0">
31
            <partyWithRole>
32
                <partyID>0</partyID>
33
            </partyWithRole>
27
            <partyWithRole><partyID>0</partyID></partyWithRole>
34 28
            <authorCode>9877</authorCode>
35 29
            <voucher>816590</voucher>
36 30
        </taxonNameUsageConcept>
37 31
        <taxonNameUsageConcept id="1">
38
            <partyWithRole>
39
                <partyID>2</partyID>
40
            </partyWithRole>
32
            <partyWithRole><partyID>2</partyID></partyWithRole>
41 33
            <authorCode>545</authorCode>
42 34
            <voucher>220541</voucher>
43 35
        </taxonNameUsageConcept>
44 36
    </taxonNameUsageConcepts>
45 37
    <parties>
46
        <party id="0">
47
            <organizationName>NY Herbarium</organizationName>
48
        </party>
38
        <party id="0"><organizationName>NY Herbarium</organizationName></party>
49 39
        <party id="1">
50 40
            <individualName>
51 41
                <givenName>R. B.</givenName>
52 42
                <surName>Foster</surName>
53 43
            </individualName>
54 44
        </party>
55
        <party id="2">
56
            <organizationName>NY Herbarium</organizationName>
57
        </party>
45
        <party id="2"><organizationName>NY Herbarium</organizationName></party>
58 46
        <party id="3">
59 47
            <individualName>
60 48
                <givenName>J. B.</givenName>
......
65 53
    <taxonDeterminations>
66 54
        <taxonDetermination>
67 55
            <taxonNameUsageConceptID>0</taxonNameUsageConceptID>
68
            <partyWithRole>
69
                <role>identifier</role>
70
            </partyWithRole>
56
            <partyWithRole><role>identifier</role></partyWithRole>
71 57
            <taxonRelationshipAssertions>
72
                <taxonRelationshipAssertion>
73
                    <assertion>
74
                        <taxonNameID>0</taxonNameID>
75
                    </assertion>
76
                </taxonRelationshipAssertion>
77
                <taxonRelationshipAssertion>
78
                    <assertion>
79
                        <taxonConceptID>0</taxonConceptID>
80
                    </assertion>
81
                </taxonRelationshipAssertion>
82
                <taxonRelationshipAssertion>
83
                    <assertion>
84
                        <taxonConceptID>1</taxonConceptID>
85
                    </assertion>
86
                </taxonRelationshipAssertion>
87
                <taxonRelationshipAssertion>
88
                    <assertion>
89
                        <taxonConceptID>2</taxonConceptID>
90
                    </assertion>
91
                </taxonRelationshipAssertion>
92
                <taxonRelationshipAssertion>
93
                    <assertion>
94
                        <taxonConceptID>3</taxonConceptID>
95
                    </assertion>
96
                </taxonRelationshipAssertion>
97
                <taxonRelationshipAssertion>
98
                    <assertion>
99
                        <taxonConceptID>4</taxonConceptID>
100
                    </assertion>
101
                </taxonRelationshipAssertion>
102
                <taxonRelationshipAssertion>
103
                    <assertion>
104
                        <taxonConceptID>5</taxonConceptID>
105
                    </assertion>
106
                </taxonRelationshipAssertion>
58
                <taxonRelationshipAssertion><assertion><taxonNameID>0</taxonNameID></assertion></taxonRelationshipAssertion>
59
                <taxonRelationshipAssertion><assertion><taxonConceptID>0</taxonConceptID></assertion></taxonRelationshipAssertion>
60
                <taxonRelationshipAssertion><assertion><taxonConceptID>1</taxonConceptID></assertion></taxonRelationshipAssertion>
61
                <taxonRelationshipAssertion><assertion><taxonConceptID>2</taxonConceptID></assertion></taxonRelationshipAssertion>
62
                <taxonRelationshipAssertion><assertion><taxonConceptID>3</taxonConceptID></assertion></taxonRelationshipAssertion>
63
                <taxonRelationshipAssertion><assertion><taxonConceptID>4</taxonConceptID></assertion></taxonRelationshipAssertion>
64
                <taxonRelationshipAssertion><assertion><taxonConceptID>5</taxonConceptID></assertion></taxonRelationshipAssertion>
107 65
            </taxonRelationshipAssertions>
108 66
        </taxonDetermination>
109 67
        <taxonDetermination>
......
115 73
        </taxonDetermination>
116 74
        <taxonDetermination>
117 75
            <taxonNameUsageConceptID>1</taxonNameUsageConceptID>
118
            <partyWithRole>
119
                <role>identifier</role>
120
            </partyWithRole>
76
            <partyWithRole><role>identifier</role></partyWithRole>
121 77
            <taxonRelationshipAssertions>
122
                <taxonRelationshipAssertion>
123
                    <assertion>
124
                        <taxonNameID>1</taxonNameID>
125
                    </assertion>
126
                </taxonRelationshipAssertion>
127
                <taxonRelationshipAssertion>
128
                    <assertion>
129
                        <taxonConceptID>6</taxonConceptID>
130
                    </assertion>
131
                </taxonRelationshipAssertion>
132
                <taxonRelationshipAssertion>
133
                    <assertion>
134
                        <taxonConceptID>7</taxonConceptID>
135
                    </assertion>
136
                </taxonRelationshipAssertion>
137
                <taxonRelationshipAssertion>
138
                    <assertion>
139
                        <taxonConceptID>8</taxonConceptID>
140
                    </assertion>
141
                </taxonRelationshipAssertion>
78
                <taxonRelationshipAssertion><assertion><taxonNameID>1</taxonNameID></assertion></taxonRelationshipAssertion>
79
                <taxonRelationshipAssertion><assertion><taxonConceptID>6</taxonConceptID></assertion></taxonRelationshipAssertion>
80
                <taxonRelationshipAssertion><assertion><taxonConceptID>7</taxonConceptID></assertion></taxonRelationshipAssertion>
81
                <taxonRelationshipAssertion><assertion><taxonConceptID>8</taxonConceptID></assertion></taxonRelationshipAssertion>
142 82
            </taxonRelationshipAssertions>
143 83
        </taxonDetermination>
144 84
        <taxonDetermination>
......
150 90
        </taxonDetermination>
151 91
    </taxonDeterminations>
152 92
    <taxonNames>
153
        <taxonName id="0">
154
            <Simple>Cariniana estrellensis (Raddi) Kuntze</Simple>
155
        </taxonName>
156
        <taxonName id="1">
157
            <Simple>Scrophulariaceae</Simple>
158
        </taxonName>
93
        <taxonName id="0"><Simple>Cariniana estrellensis (Raddi) Kuntze</Simple></taxonName>
94
        <taxonName id="1"><Simple>Scrophulariaceae</Simple></taxonName>
159 95
    </taxonNames>
160 96
    <taxonConcepts>
161 97
        <taxonConcept id="0">

Also available in: Unified diff