40D is slightly better imho, but get a good quality lens on the xsi and you won't be disappointed
I like the smaller size, so I bought a 400D (rebel xti)
Check this out for a comparison of both models:
http://www.komar.org/faq/camera/cano...ebel-xsi-450d/