Commit 8f029f0e authored by olivier R-D's avatar olivier R-D

convert abstract property to string before exporting

parent 84f73bd5
...@@ -138,7 +138,7 @@ class XmlExporter(object): ...@@ -138,7 +138,7 @@ class XmlExporter(object):
""" """
obj_el = self._add_node_common("UAObjectType", node) obj_el = self._add_node_common("UAObjectType", node)
abstract = node.get_attribute(ua.AttributeIds.IsAbstract).Value.Value abstract = node.get_attribute(ua.AttributeIds.IsAbstract).Value.Value
obj_el.attrib["IsAbstract"] = abstract obj_el.attrib["IsAbstract"] = str(abstract)
self._add_ref_els(obj_el, node) self._add_ref_els(obj_el, node)
def add_variable_common(self, node, el): def add_variable_common(self, node, el):
......
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