Developer forum

Forum » Templates » Sitemap V2

Reply

Anyone that can help me setting the xslt sitemap v2 a-z template up, so it becomes more then 1 coloumn?


Replies

 
Reply

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

 

 
Reply
Attached?

 

 
Reply

Arghhh .... sorry.

Try this link: http://ecommerce.dynamicweb.dk/Files/Templates/SitemapV2/sitemapv2_alphabetic.xslt

 
Reply
Hej Sebastian, testede lige denne xslt, men får ? op efter hvert bogstav???

, se link:

http://www.m2software.dk/Default.aspx?ID=134
 
Nicolai Høeg Pedersen
Reply
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.

 

You must be logged in to post in the forum