Hi
Here is my xslt.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/
Transform">
<xsl
utput omit-xml-declaration="yes" encoding="utf-8"
method="html" indent="no"/>
<xsl:variable name="firstMenuItemClass">first </xsl:variable>
<xsl:variable name="lastMenuItemClass">last </xsl:variable>
<xsl:variable name="selectedMenuItemClass">selected </xsl:variable>
<xsl:variable name="expandedMenuItemClass">expanded </xsl:variable>
<xsl:variable name="hasChildrenMenuItemClass">hasChildren </
xsl:variable>
<xsl:variable name="FilenamePrefix">
<xsl:value-of select="Navigation/@FilenamePrefix"/>
</xsl:variable>
<xsl:variable name="FileExtension">
<xsl:value-of select="Navigation/@FileExtension"/>
</xsl:variable>
<xsl:variable name="SelectedPageId">
<xsl:value-of select="Navigation/@PageId"/>
</xsl:variable>
<xsl:template match="Module" xml:space="default">
<xsl:choose>
<xsl:when test="Name='Sitemap'">
<div id="sitemap"><xsl:apply-templates select="Layout" /></div>
</xsl:when>
<xsl
therwise>
<xsl:copy-of select="Layout"/>
</xsl
therwise>
</xsl:choose>
</xsl:template>
<xsl:template match="Module">
<xsl:apply-templates select="Layout/Row" />
</xsl:template>
<xsl:template match="Layout/Row">
<xsl:apply-templates select="Cell[@Id='2']"/>
</xsl:template>
<xsl:template match="Cell">
<xsl:copy-of select="ContentArea/node()"/>
</xsl:template>
<xsl:template match="ContentArea"><xsl:copy-of select="node()"/></
xsl:template>
<xsl:template match="Navigation" xml:space="default">
<xsl:if test="NavigationElement[@ShowInNavigation='true']">
<ul>
<xsl:attribute name="class"><xsl:text/>level_<xsl:value-of
select="number(NavigationElement/@Level)+1" /></xsl:attribute>
<xsl:apply-templates
select="NavigationElement[@ShowInNavigation='true']"/>
</ul>
</xsl:if>
</xsl:template>
<xsl:template match="NavigationElement[@ShowInNavigation='true']"
xml:space="default">
<xsl:variable name="itemClass">
<xsl:if test="position() = 1">
<xsl:value-of select="$firstMenuItemClass" disable-output-
escaping="yes"/>
</xsl:if>
<xsl:if test="position() = last()">
<xsl:value-of select="$lastMenuItemClass" disable-output-
escaping="yes"/>
</xsl:if>
<xsl:if test="@Selected='true'">
<xsl:value-of select="$selectedMenuItemClass" disable-output-
escaping="yes"/>
</xsl:if>
<xsl:if test="@ChildSelected='true'">
<xsl:value-of select="$expandedMenuItemClass" disable-output-
escaping="yes"/>
</xsl:if>
<xsl:if test="@NumberOfChildren > '0'">
<xsl:value-of select="$hasChildrenMenuItemClass" disable-
output-escaping="yes"/>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="@PageId=339"><li class="fagfolk">Specielt for
fagfolk</li></xsl:when>
<xsl:when test="@PageId=540"><li class="fagfolk">Specielt for
fagfolk</li></xsl:when>
<xsl:when test="@PageId=892"><li class="fagfolk">Specielt for
fagfolk</li></xsl:when>
<xsl:when test="@PageId=893"><li class="fagfolk">Specielt for
fagfolk</li></xsl:when>
</xsl:choose>
<li>
<xsl:if test="not($itemClass='')">
<xsl:attribute name="class">
<xsl:copy-of select="normalize-space($itemClass)"/>
</xsl:attribute>
</xsl:if>
<a>
<xsl:if test="not($itemClass='')">
<xsl:attribute name="class">
<xsl:copy-of select="normalize-space($itemClass)"/>
</xsl:attribute>
</xsl:if>
<xsl:attribute name="href" xml:space="default">
<xsl:choose>
<xsl:when test="LongUrl != ''">/<xsl:value-of
select="LongUrl" disable-output-escaping="yes"/> said:
<xsl:value-of select="@PageId"/><xsl:value-of select="$FileExtension"/
</xsl
therwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="NavigationTitle" disable-output-
escaping="yes"/>
</a>
<xsl:if test="NavigationElement[@ShowInNavigation='true']">
<ul>
<xsl:attribute name="class"><xsl:text/>level_<xsl:copy-of
select="number(NavigationElement/@Level)+1"/></xsl:attribute>
<xsl:apply-templates
select="NavigationElement[@ShowInNavigation='true']"/>
</ul>
</xsl:if>
</li>
</xsl:template>
<xsl:template match="*" />
</xsl:stylesheet>