In HTML, if you want to run a script after the page is loaded, your can set the defer attribute. However, when I try to do this in an SVG document:
<script type="text/javascript" defer="defer" xlink:href="..."></script>
...it does not seem to "defer" as I would expect. I've been putting the script tag at the end of the file as a workaround, but maybe I'm missing something? Is there a different, more standard way to defer scripts in SVG? I just want the whole DOM parsed and ready when my script runs.