C:\ub16_prj>python yk-demo-xmind-sdk.py
Traceback (most recent call last):
File "yk-demo-xmind-sdk.py", line 19, in
t1=TopicElement() # create a new element
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\site-packages\xmind\core\topic.py", line 39, in init
self.addIdAttribute(const.ATTR_ID)
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\site-packages\xmind\core__init__.py", line 274, in addIdAttribute
self._node.setAttribute(attr_name, id)
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\xml\dom\minidom.py", line 741, in setAttribute
attr.ownerDocument = self.ownerDocument
AttributeError: ownerDocument
C:\ub16_prj>python yk-demo-xmind-sdk.py Traceback (most recent call last): File "yk-demo-xmind-sdk.py", line 19, in
t1=TopicElement() # create a new element
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\site-packages\xmind\core\topic.py", line 39, in init
self.addIdAttribute(const.ATTR_ID)
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\site-packages\xmind\core__init__.py", line 274, in addIdAttribute
self._node.setAttribute(attr_name, id)
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\xml\dom\minidom.py", line 741, in setAttribute
attr.ownerDocument = self.ownerDocument
AttributeError: ownerDocument
C:\ub16_prj>