I couldn't figure out why my body tag's onload event wasn't firing. After a bit of playing with it, I realized it would fire if I processed the XSLT on the server and sent back HTML. If I process it on the client, it appears that the XML triggers the onload event so by the time the client transforms the XML to HTML, there's no onload event to fire. Yuck.
orbutton.addEventListener('document.body', onload, true);
window.onload = extractBlockquoteCitations;
Re:What if..
jk2addict on 2005-09-07T19:27:23
Some more hints here on how to tackle adding events across browsers outside of the tags themselves...
http://www.sitepoint.com/print/structural-markup-javascript