1
针对网站站点地图的XSL无法按预期工作。针对网站站点地图XML的XSL问题
URL元素没有被循环?
可以请你看看:
XML:
http://www.telephonesystems.co.uk/sitemap.xml
XSL:
http://www.telephonesystems.co.uk/css/sitemap.xsl
感谢
针对网站站点地图的XSL无法按预期工作。针对网站站点地图XML的XSL问题
URL元素没有被循环?
可以请你看看:
XML:
http://www.telephonesystems.co.uk/sitemap.xml
XSL:
http://www.telephonesystems.co.uk/css/sitemap.xsl
感谢
只要改变:
<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">
到:
<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">
很好的问题(+1)。查看我的答案获得完整的解决方案。 :) – 2010-05-05 16:16:46