Re: WebsiteDTD: suppressing the homepage title

From
Vitaly Ostanin <>
Date
2003-07-30T09:41:02+00:00
ID
Thread
Re: WebsiteDTD: suppressing the homepage title
On Wed, 30 Jul 2003 00:04:09 +0200
Oliver Fischer <> wrote:

> Hello,
> 
> I saw in tabular.xsl :
> 
> <xsl:if test="$autolayout/autolayout/toc[1]/@id != $id
>                or $suppress.homepage.title = 0">
>    <xsl:apply-templates select="./head/title"
>    mode="title.mode"/>
> </xsl:if>
> 
> So I tried to set $suppress.homepage.title. I added to my
> custom layer:
> 
> <xsl:param name="suppress.homepage.title">0</xsl:param>
> 
> But I doesn't change. What did I wrong?

This <xsl:if/> check both conditions, not only
$suppress.homepage.title.

You can debug templates by inserting
<xsl:message terminate=yes>
<xsl:value-of select="$autolayout/autolayout/toc[1]/@id"/>
<xsl:text>&#10;</xsl:text>
<xsl:value-of select="$id"/>
</xsl:message>

<skipped/>

-- 
Regards, Vyt
mailto:  
JID: