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]

Re: 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

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


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