db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: Forrest patch, solve problem with page TOC
Date Wed, 16 Jun 2004 22:36:36 GMT
Armin Waibel wrote:

> Hi Brian,
> 
> today I posted to forrest-list about the missing table of content on 
> each page when using Tigris style.
> A user posts a patch (only remove a few lines in Tigris site2xhtml.xsl 
> file) a few minutes ago.
> If you find time please apply the patch and create the site again.

or get latest Forrest version (patch is in SVN now)

Armin

> 
> regards,
> Armin
> 
> -------- Original Message --------
> Subject: Re: Problem with Tigris skin - per page TOC not created
> Date: Wed, 16 Jun 2004 14:52:41 -0700
> From: Rick Tessner <rick@onnadayr.ca>
> Reply-To: dev@forrest.apache.org
> To: dev@forrest.apache.org
> References: <40D01B73.2040203@apache.org>  <cap79c$fou$1@sea.gmane.org>
> 
> 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>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message