Revision 86
Added by Aaron Marcuse-Kubitza about 13 years ago
map | ||
---|---|---|
11 | 11 |
sys.path.append(os.path.dirname(__file__)+"/lib") |
12 | 12 |
|
13 | 13 |
import opts |
14 |
import xml_func |
|
14 | 15 |
|
15 | 16 |
def metadata_value(name): |
16 | 17 |
if name.startswith(':'): return name[1:] |
... | ... | |
87 | 88 |
for value, out in metadata: put_col(out, value) |
88 | 89 |
for i, col in enumerate(cols): |
89 | 90 |
if row[i] != '' and col in map_: put_col(map_[col], row[i]) |
91 |
xml_func.process(out_doc) |
|
90 | 92 |
doc = out_doc |
91 | 93 |
|
92 | 94 |
# Output XML tree |
Also available in: Unified diff
Added xml_func.py to process mappings whose output needs postprocessing