Search found 1 match
- Sat May 03, 2014 9:49 pm
- Forum: General Discussions
- Topic: effect adding namespaces
- Replies: 7
- Views: 4124
Re: effect adding namespaces
I found a work-around (hack) to enable my extension to add custom namespaces. It's ugly, but due to limits of lxml, this seems to be the only way I could find: My effect class inherits from inkex.Effect First, I had to make my own addNS routine (instead of using inkex.addNS ): def addNS(self, tag, n...