diff --git a/scripts/unlizeXml.py b/scripts/unlizeXml.py index c05a361803421e04d414970734bcad9a20f7eb17..e3f27f7f5747491a8ff11c787ba2a88e8e4696c0 100755 --- a/scripts/unlizeXml.py +++ b/scripts/unlizeXml.py @@ -57,7 +57,7 @@ def nestedBody2Str(b): def addSubElement(parent, tag, text): sub = etree.SubElement(parent, tag) - sub.text = text + sub.text = etree.CDATA(text) return sub @@ -123,6 +123,8 @@ def unl2dot(text, path): type=click.Path(dir_okay=False), default='unl2rdf-app-1.0-SNAPSHOT-jar-with-dependencies.jar', help='Path of the unltools jar') + + def unlizeXml(input, output, lang, dry_run, svg, unltools_path): parser = etree.XMLParser(remove_comments=True)