← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK-APPS: margin-start bug in varlistentry template

From
Elliotte Rusty Harold <>
Date
2001-07-26T15:37:32+00:00
ID
Thread
DOCBOOK-APPS: margin-start bug in varlistentry template
The XSL 1.4.1 template for varlistentry in lists.xsl uses the 
margin-start property. However, there is no such property in XSL. I 
think what's needed instead is either margin-left or space-start.

Currently the template reads:

<xsl:template match="varlistentry" mode="vl.as.blocks">
  <xsl:variable name="id"><xsl:call-template 
name="object.id"/></xsl:variable>

  <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing">
    <xsl:apply-templates select="term"/>
  </fo:block>

  <fo:block margin-start="0.25in">
    <xsl:apply-templates select="listitem"/>
  </fo:block>
</xsl:template>

I think it should be:

<xsl:template match="varlistentry" mode="vl.as.blocks">
  <xsl:variable name="id"><xsl:call-template 
name="object.id"/></xsl:variable>

  <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing">
    <xsl:apply-templates select="term"/>
  </fo:block>

  <fo:block margin-left="0.25in">
    <xsl:apply-templates select="listitem"/>
  </fo:block>
</xsl:template>
← Prev in month ← Prev in thread
Next in thread → Next in month →