When I run the standalone Sitemap Generator on my site and then visit [ External links are visible to forum administrators only ], I am able to view it fine. However, when a sitemap is generated via Cron Job and then I visit sitemap.xml I get the following error:
Error loading stylesheet: A network error occured loading an XSLT stylesheet:http://www.myurl.com/home/dogged/public_html/generator/pages/mods/sitemap.xsl
The difference is that when the generator is run manually it produces the following reference to the stylesheet (with the correct location for the stylesheet):
<?xml-stylesheet type="text/xsl" href="[ External links are visible to forum administrators only ]"?>
But when it is run via Cron Job it produces this (with an incorrect location for the stylesheet, resulting in the error):
<?xml-stylesheet type="text/xsl" href="[ External links are visible to forum administrators only ]"?>
Please inform me as to how I can correct this inconsistency.