This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: WebsiteDTD: suppressing the homepage title


On Wed, 30 Jul 2003 00:04:09 +0200
Oliver Fischer <plexus@snafu.de> 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:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]