16 Oct
2014
16 Oct
'14
4:14 p.m.
For example, the following code attempts to simply change the 'id' of sodipoid:namedview:
namedview = root.find(inkex.addNS('namedview', 'sodipodi')) inkex.debug( namedview.get("id") ) namedview.set("id", "NewID" ) inkex.debug( namedview.get("id") )
The debug output shows that the 'id' attribute is changed but if I then examine <namedview> with the XML editor it doesn't show the change.
Any clues as to what is going on would be greatly appreciated.
Hi Tav, not sure but could be missing the ?equivalent to effect.affect()
Regards, Jabier.