Next in thread → Next in month →

Re: DOCBOOK-APPS: unumbered lists, compact mode

From
Jirka Kosek <>
Date
2001-06-01T18:27:30+00:00
ID
Thread
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: 
  http://www.kosek.cz
Next in thread → Next in month →