While the iPad doesn't show support for those file containers, there is several apps in the app store which will allow for Xvid/DivX and even MKV playback. My personal preference is to use Cinex Player but you may find something more suited to your tastes just by searching the app store.