Revision 142
Added by Aaron Marcuse-Kubitza about 13 years ago
map | ||
---|---|---|
120 | 120 |
for value, out in metadata: put_col(out, value) |
121 | 121 |
for i, col in enumerate(cols): |
122 | 122 |
if row[i] != '' and col in map_: put_col(map_[col], row[i]) |
123 |
xml_func.process(doc1)
|
|
123 |
xml_func.process(root)
|
|
124 | 124 |
else: doc1 = doc0 |
125 | 125 |
|
126 | 126 |
# Output XML tree |
Also available in: Unified diff
xpath.py: Refactored xml_func.py to avoid needing a doc parameter for the XML document