This previously asked question's answer was to use a plugin but that plugin is no longer maintained or even available. Without using a plugin, how do you verify text present on an XML page?
For example, how do you verify that the URL for a test page is present on the sitemap.xml for your site?