headword lemma and semantic&english-full tags tags
This commit is contained in:
@@ -25,6 +25,8 @@ def export_entry(entry):
|
||||
headword = doc.createElement("headword")
|
||||
headword_lemma = doc.createElement("lemma")
|
||||
headword_lemma.textContent = entry.headword
|
||||
if entry.headword_type is not None:
|
||||
headword_lemma.setAttribute("type", entry.headword_type)
|
||||
headword.appendChild(headword_lemma)
|
||||
head.appendChild(headword)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user