This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: WebsiteDTD: suppressing the homepage title
- From: Vitaly Ostanin <vyt at vzljot dot ru>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 30 Jul 2003 13:56:29 +0400
- Subject: [docbook-apps] Re: WebsiteDTD: suppressing the homepage title
- References: <3F26EF59.5050908@snafu.de>
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> </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