views:

44

answers:

1

Hi

The XSL for a website sitemap is not working as expected.

The URL elements are not being looped through?

Please can you take a look:

XML:

http://www.telephonesystems.co.uk/sitemap.xml

XSL:

http://www.telephonesystems.co.uk/css/sitemap.xsl

Thanks

+2  A: 

Just change:

<xsl:stylesheet
  version="2.0"
  xmlns:html="http://www.w3.org/TR/REC-html40"
  xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;

to:

<xsl:stylesheet
  version="2.0"
  xmlns:html="http://www.w3.org/TR/REC-html40"
  xmlns:sitemap="http://www.google.com/schemas/sitemap/0.9"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
Dimitre Novatchev