Microsys
  

XSL Stylesheet and Transformation with XML Sitemaps

XSL transformations and stylesheets for XML sitemaps are completely ignored by search engines.
Help: overview | previous | next

 To see all the options available, you will have to switch off easy mode 

 With options that use a dropdown list, any [+] or [-] button next to adds or removes items in the list itself 

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 sitemaps for your human visitors, you can take advantage of the rich support in A1 Sitemap Generator for both simple HTML sitemap and advanced HTML sitemaps.


Viewing XML Sitemap Without XSL Stylesheet

Most internet browsers will apply a default style when viewing XML sitemaps inside them. This means they will look differently than what they actually are.

xml sitemap file without stylesheet viewed in FireFox
(XML sitemap file without style information viewed in FireFox browser.)


Adding XML Sitemaps Stylesheet XSL File

You can either use the XSL stylesheet file always included in the installation 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"?>
This help page is maintained by

As one of the lead developers, his hands have touched most of the code in the software from Microsys.

If you email any questions, chances are that he will be the one answering them.
A1 Sitemap GeneratorAbout A1 Sitemap Generator

Build all kinds of sitemaps including text, visual HTML / CSS, RSS, XML, image, video, news and mobile for all your websites no matter the platform they use.
     
Share this page with friends   LinkedIn   Twitter   Facebook   Pinterest   Google+   YouTube  
 © Copyright 1997-2016 Microsys
 Usage of this website constitutes an accept of our legal, privacy and cookies information.