Commit f9ed4da2 authored by Neeme Kahusk's avatar Neeme Kahusk

loeb tabelit

parent a9450020
......@@ -18,6 +18,8 @@ from lxml import etree
from prepare import read_xml
from configure_columns import SIMPLE
def get_xpath(root: etree._ElementTree, xpath: str):
namespaces = {'x':''}
elements = root.xpath(xpath, namespaces=namespaces)
......@@ -50,6 +52,8 @@ def main():
reader = csv.DictReader(csvfile, dialect=csv.excel_tab)
csvdata = [x for x in reader]
tulem = zip2roots(args.infile)
for i in tulem:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment