Anyone that can help me setting the xslt sitemap v2 a-z template up, so it becomes more then 1 coloumn?
Developer forum
E-mail notifications
Sitemap V2
Replies
Posted on 17/04/2009 10:37:22
Hi Michael
Grouping and sorting is a tricky business in XSLT, when you're using the MS.NET framework.
Apparently Microsoft has only decided to support XSLT/XPATH 1.0 although that
XSLT/XPATH 2.0 went in recommendation in 23 January 2007.
So when we only have XSLT/XPATH 1.0 we have to do use the Muenchian method: http://www.jenitennison.com/xslt/grouping/muenchian.html
I've attached an XSLT file that sorts the pages alphabetically. Maybe you can style this so that is looks like columns, with some flot left and right.
Hope this helps you along ...
// Dammark
Posted on 17/04/2009 14:30:50
Attached?
Posted on 17/04/2009 15:07:27
Arghhh .... sorry.
Try this link: http://ecommerce.dynamicweb.dk/Files/Templates/SitemapV2/sitemapv2_alphabetic.xslt
Posted on 08/11/2010 13:08:52
Hej Sebastian, testede lige denne xslt, men får ? op efter hvert bogstav???
, se link:
http://www.m2software.dk/Default.aspx?ID=134
, se link:
http://www.m2software.dk/Default.aspx?ID=134
Nicolai Høeg Pedersen
Posted on 08/11/2010 13:14:34
Well - you had a ? in your xslt... Probably an encoding issue. Always save the file as utf-8.
Updated the template on your site. Test again - remember to flush your cache.
Updated the template on your site. Test again - remember to flush your cache.
You must be logged in to post in the forum