How do I prevent my XML sitemap files from showing up in Google search results like this result of a
site: search query:
I don't understand why Google would choose to show sitemap files in search results to begin with. These files are not meant for human consumption.
Google needs to be able to crawl it to be able to process it, so I can't disallow it in robots.txt. I just don't want them to put it into the search results after processing it.