forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: Problem with Tigris skin - per page TOC not created
Date Wed, 16 Jun 2004 22:10:50 GMT
Hi Rick,

thanks much! It works again!

regards,
Armin

Rick Tessner wrote:
> On Wed, 2004-06-16 at 03:26, Nicola Ken Barozzi wrote:
> 
> 
>>>The <toc> tag in skinconf.xml was enabled to generate a per page TOC, 
>>>but it doesn't. A SVN snapshot some weeks ago worked like a charm and 
>>>create the the TOC.
>>>Is this a bug or new intended behaviour of Tigris skin (discard support 
>>>for <toc> tag)?
>>
> 
>>Another bug.
>>
>>Fixing I go! :-)
> 
> 
> Here's a patch for tigris-style.  Problem was in the site2xhtml.xsl.  It
> wasn't able to fall back to the default defined in
> common/xslt/html/site2xhtml.xsl because it explicitly matches
> "node()|@*".
> 
> This patch just removes that template.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: src/core/context/skins/tigris-style/xslt/html/site2xhtml.xsl
> ===================================================================
> --- src/core/context/skins/tigris-style/xslt/html/site2xhtml.xsl	(revision 21235)
> +++ src/core/context/skins/tigris-style/xslt/html/site2xhtml.xsl	(working copy)
> @@ -461,11 +461,4 @@
>        -->
>    </xsl:template>
>  
> -  <xsl:template match="node()|@*" priority="-1">
> -    <xsl:copy>
> -      <xsl:apply-templates select="@*"/>
> -      <xsl:apply-templates/>
> -    </xsl:copy>
> -  </xsl:template>
> -
>  </xsl:stylesheet>

Mime
View raw message