Foundry support for sitemaps
git-svn-id: https://svn.libreccm.org/ccm/trunk@3103 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
35cd863e45
commit
26c7359b07
|
|
@ -505,4 +505,30 @@
|
||||||
<xsl:value-of select="$quicklink-description"/>
|
<xsl:value-of select="$quicklink-description"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Sitemap -->
|
||||||
|
<xsl:template match="nav-sitemap">
|
||||||
|
<xsl:apply-templates select="$data-tree/nav:categoryHierarchy"/>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="nav:categoryHierarchy">
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="nav:categoryHierarchy//nav:category">
|
||||||
|
<li>
|
||||||
|
<a href="{@url}">
|
||||||
|
<xsl:value-of select="@title"/>
|
||||||
|
</a>
|
||||||
|
<xsl:if test="./nav:category">
|
||||||
|
<ul>
|
||||||
|
<xsl:apply-templates select="./nav:category"/>
|
||||||
|
</ul>
|
||||||
|
</xsl:if>
|
||||||
|
</li>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
Loading…
Reference in New Issue