HTML and XML sitemaps are two places where a website can house its hreflang tags. It makes no difference to search engines which one you use. The only difference is how easy it is for the website owner to maintain, which depends on CMS functionality.