This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: unumbered lists, compact mode
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Subject: Re: DOCBOOK-APPS: unumbered lists, compact mode
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Fri, 01 Jun 2001 11:22:03 +0200
- Cc: docbook-apps at lists dot oasis-open dot org
- References: <082e01c0ea2c$addaeb80$0200a8c0@lifelesswks>
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
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org