My original camera was a D40x, I bought it thinking that not having the built in AF motor wouldn't bother me. Within a week, it went right back to the store and ordered a D80 body only from BH Photo.
Your somewhat limited with lens selection with the D40 since you can only use AF-S lenses, which somewhat limits you in choice of fast primes and other lenses.
If it was a choice between D40x and XTi, I'd go for the XTi only because your not limited in lens choices.
If your budget can get you a D80, I would go for that instead.
I really think, great pictures are taken more by the photographer and the lens and not so much the body. Just about any of the mid level DSLR will suffice, and provide great pictures. In my opinion, the quality of the lens will make a bigger difference. If/When you really get into this hobby, you'll be surprised that yoru actually contemplating to spend so much cash for a particular lens. Note that real good lenses from Canon or Nikon, are easily over a thousand, but good fast primes (50mm and 85mm) are more reasonable at less than 500.00.
Your somewhat limited with lens selection with the D40 since you can only use AF-S lenses, which somewhat limits you in choice of fast primes and other lenses.
If it was a choice between D40x and XTi, I'd go for the XTi only because your not limited in lens choices.
If your budget can get you a D80, I would go for that instead.
I really think, great pictures are taken more by the photographer and the lens and not so much the body. Just about any of the mid level DSLR will suffice, and provide great pictures. In my opinion, the quality of the lens will make a bigger difference. If/When you really get into this hobby, you'll be surprised that yoru actually contemplating to spend so much cash for a particular lens. Note that real good lenses from Canon or Nikon, are easily over a thousand, but good fast primes (50mm and 85mm) are more reasonable at less than 500.00.