I have made two small Python extensions for 0.45.1. When I run them in 0.46-pre3 they fail early on (trying to get the svg element using getElementsByTagName (code borrowed from the old hello-world.py)).
It seems much or all of the DOM API has been replaced by other calls. Is there a recommended way of keeping my extensions working with 0.45 but also working with 0.46? Or do I have to write my own wrapper functions to do that (perhaps if I wrap all XML elements in a class that provides the old DOM functions I used?)?



