from lxml import etree
from lxml.etree import tostring
+list_topic = False
+
filemakerxml = 'meksme-utf8.xml'
tree = etree.parse(filemakerxml)
e['topic'] = topicmap[lang][e['topic']]
if lang in e:
entry = E.glossentry()
- if 'topic' in e:
+ if list_topic and 'topic' in e:
entry.append(E.glossterm('%s [%s]' % (e[lang], e['topic'])))
else:
entry.append(E.glossterm(e[lang]))