Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
XMLmind
  • Loading branch information
kthoden committed Jan 3, 2019
1 parent 47ef00e commit d10db01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fix_tei.py
Expand Up @@ -678,6 +678,8 @@ def main():
fix_tei_header(tei_header[0], str(args.bibfile), str(args.bibtype)) fix_tei_header(tei_header[0], str(args.bibfile), str(args.bibtype))


tei_text = xml_tree2.xpath("/t:TEI/t:text", namespaces=NS_MAP)[0] tei_text = xml_tree2.xpath("/t:TEI/t:text", namespaces=NS_MAP)[0]
# this xml:id is for xmlmind functionality
libeoaconvert.assign_xml_id(tei_text, "text")
tei_front_part = add_tei_frontpart() tei_front_part = add_tei_frontpart()
tei_text.insert(0, tei_front_part) tei_text.insert(0, tei_front_part)


Expand Down

0 comments on commit d10db01

Please sign in to comment.