← Prev in month ← Prev in thread

I'm want to indent only 'section/para', not 'section/para/programlisting'

From
Dongsheng Song <>
Date
2008-12-29T09:34:05+00:00
ID
Thread
I'm want to indent only 'section/para', not 'section/para/programlisting'
When I use custom xsl to indent 'section/para':

  <xsl:attribute-set name="standard.para.spacing"
use-attribute-sets="normal.para.spacing">
    <xsl:attribute name="text-indent">24pt</xsl:attribute>
  </xsl:attribute-set>

  <xsl:template match="section/para">
    <fo:block xsl:use-attribute-sets="standard.para.spacing">
      <xsl:call-template name="anchor"/>
      <xsl:apply-templates/>
    </fo:block>
  </xsl:template>

But 'section/para/programlisting' indent too, how can I avoid it indent any
subelements of 'section/para'?

Thanks,

Dongsheng Song
← Prev in month ← Prev in thread