t('Sitemap file'), 'Generated by the Drupal XML sitemap module.' => t('Generated by the Drupal XML sitemap module.', array('@link-xmlsitemap' => 'http://drupal.org/project/xmlsitemap', '@version' => _xmlsitemap_get_version())), 'Number of sitemaps in this index' => t('Number of sitemaps in this index'), 'Click on the table headers to change sorting.' => t('Click on the table headers to change sorting.'), 'Sitemap URL' => t('Sitemap URL'), 'Last modification date' => t('Last modification date'), 'Number of URLs in this sitemap' => t('Number of URLs in this sitemap'), 'URL location' => t('URL location'), 'Change frequency' => t('Change frequency'), 'Priority' => t('Priority'), '[xsl-css]' => base_path() . $module_path . '/xsl/xmlsitemap.xsl.css', '[xsl-js]' => base_path() . $module_path . '/xsl/xmlsitemap.xsl.js', ); $xsl_content = strtr($xsl_content, $replacements); // Output the XSL content. drupal_set_header('Content-type: application/xml; charset=utf-8'); echo $xsl_content; }