[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: unumbered lists, compact mode
Robert Collins wrote:
>
> --- lists.xsl~ Fri May 4 07:03:41 2001
> +++ lists.xsl Fri Jun 1 09:49:59 2001
> @@ -20,7 +20,7 @@
> <xsl:apply-templates select="title"/>
> </xsl:if>
> <ul>
> - <xsl:if test="@spacing='compact'">
> + <xsl:if test="@spacing='compact' and compact">
> <xsl:attribute name="compact">
> <xsl:value-of select="compact"/>
> </xsl:attribute>
>
> The above patch prevents the output of
> <ul compact=""> which isn't valid HTML.
Problem is in another place. There should be
<xsl:value-of select="'compact'"/>
to treat word compact as string literal not as XPath query to compact
element. Please report this bug at http://docbook.sf.net/
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC