On Jan 8, 2008 9:48 PM, Aaron Spike wrote:
Rob Antonishen wrote:
I couldn't find this in the bugtracker, so signed up to ask here Hope this is appropriate... has there been a change to the SVG handling in recent devel nightlies (win 32 binary versions)?
Indeed. After 0.45 we switched from the abandoned pyxml to lxml (which imho is much much better). If you have any questions about converting your effects to lxml, just ask. I found that there are just a few simple changes to make. You can check the diffs in SVN to see how most of them were converted.
Aaron Spike
Thanks Aaron -
I was able to get my code converted - just two change, .appendChild became .append, and the self.document.getElementsByTagName( 'svg' )[ 0 ] call became self.document.getroot()
The extension I wrote is to change the z-order the selected objects in one of the orthogonal directions, using a specified base point of each object. WOuld this be of interest to anyone else for inclusion? (I had posted it previously on the user list).
-Rob A>