Revision 75
Added by Aaron Marcuse-Kubitza almost 13 years ago
scripts/map | ||
---|---|---|
38 | 38 |
import copy |
39 | 39 |
import csv |
40 | 40 |
|
41 |
from Parser import SyntaxException |
|
41 | 42 |
import xpath |
42 | 43 |
|
43 | 44 |
mappings = [] |
... | ... | |
62 | 63 |
# Input datasource to XML tree, mapping if needed |
63 | 64 |
if in_is_xml: doc = xml.dom.minidom.parse(sys.stdin) |
64 | 65 |
if map_path != None: |
65 |
from Parser import SyntaxException |
|
66 | 66 |
import xml_xpath |
67 | 67 |
|
68 | 68 |
out_doc = xml.dom.minidom.getDOMImplementation().createDocument(None, |
Also available in: Unified diff
map: Fixed mislocated import for Parser.SyntaxException