Issue #2249723 by andrei.dincu: Create hook_theme() and move hook_preprocess_HOOK() in xmlsitemap.module