Microsys
        

XSL Stylesheet and Transformation with XML Sitemaps

Explanation of XML Related Acronyms

  • XSL: Extensible Stylesheet Language. This covers a range of XML extensions.
  • XSLT: XSL Transformations. Used to transform XML files into other formats, e.g. XHTML.


Relevance for XML Sitemaps

When using an internet browser to view XML sitemap files without above, your browser may state there is no stylesheet associated with the XML document, and that it will use its default rendering instead.

That is not an error.

The XML sitemaps protocol has no mention of XSL and XSLT, and search engines have no use for them. Search engines read the raw XML sitemaps and extract the data as specified in the XML sitemaps protocol.

If you want to create sitenmaps for your human visitors, you to create take advantage of A1 Sitemap Generator rich support for both simple HTML sitemap and advanced HTML sitemaps.



Adding XML Sitemaps Stylesheet XSL File

You can either use the builtin XSL stylesheet file or point our sitemap generator to another:

xml sitemap stylesheet file

The code part looks like this in generated XML sitemap files:
<?xml-stylesheet type="text/xsl" href="sitemap.xsl"?>

Webmaster and website software tools


Business and desktop software utilities

Website and webmaster guides


Search engine optimization help

 © Copyright 1997-2012 Microsys