xmindltd / xmind-sdk-python

MIT License
428 stars 179 forks source link

Can anyone give a full example about how to create,access and modify a typical xmind file? #2

Open frenet opened 10 years ago

frenet commented 10 years ago

Can anyone give a full example about how to create,access and modify a typical xmind file? just like the examples in https://pypi.python.org/pypi/mekk.xmind/0.5.0. or http://bitbucket.org/Mekk/mekk.xmind/

vinmu2112 commented 6 years ago

hello,

could you add to the example a way to remove an existing topic within the xmind file? thanks,

brumar commented 6 years ago

I just tried and failed. There is a removeChild method in xmind/core/__init__.py but each time I try to use it, xml.dom.NotFoundErr is raised. Good luck, keep us posted if you find a solution.

vinmu2112 commented 6 years ago

yes, I tried that one too, with same result... I have also tried with the removePosition() function of the topic element, but that does not work either

brumar commented 6 years ago

Oh, ok. With 67 forks at the moment, maybe someone managed to solve this problem. But that may be painful to look for it.