You may like this
article explaining the details different kinds of sitemaps combined with code examples.
Anyways, the answer is not so much "which" as to why not have both? A well linked HTML sitemap (i.e. highly linked internally within your website) can help push some
importance to your deeper pages. For general faster indexing and having search engines discover changes, use XML sitemaps.