Does the source code contain data? Not sure how to see the source code, follow the steps in this article.
Yes – This is all that truly matters. Sitemaps are meant for bots and bots only see the source code. The stylesheet converts the source code into what you see on the page.
If you’d like to troubleshoot the stylesheet or if the sitemap has no data at all, the fastest way to rule out conflicts is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Sixteen. If this resolves the issue, you have a conflict and should activate one plugin at a time until you locate the conflict. Finally, after all plugins are active, switch to your theme. This will narrow down the conflict to a specific plugin or theme.
If you are unfamiliar with checking for conflicts, we wrote a small guide that will walk you through the steps. You can find it here: How To Check For Plugin Conflicts