<xsl:apply-templates select="title" mode="list.title.mode"/>
</xsl:if>
+ <xsl:apply-templates select="*[not(self::listitem or self::title)]"/>
+
<fo:list-block id="{$id}" xsl:use-attribute-sets="list.block.spacing"
provisional-distance-between-starts="1.5em"
provisional-label-separation="0.2em">
- <xsl:apply-templates/>
+ <xsl:apply-templates select="listitem"/>
</fo:list-block>
</xsl:template>
<xsl:apply-templates select="title" mode="list.title.mode"/>
</xsl:if>
+ <xsl:apply-templates select="*[not(self::listitem or self::title)]"/>
+
<fo:list-block id="{$id}" xsl:use-attribute-sets="list.block.spacing"
provisional-distance-between-starts="2em"
provisional-label-separation="0.2em">
- <xsl:apply-templates/>
+ <xsl:apply-templates select="listitem"/>
</fo:list-block>
</xsl:template>
<xsl:if test="title">
<xsl:call-template name="formal.object.heading"/>
</xsl:if>
+
+ <xsl:apply-templates select="*[not(self::listitem or self::title)]"/>
+
<ul type="{$itemsymbol}">
<xsl:if test="@spacing='compact'">
<xsl:attribute name="compact">
<div class="{name(.)}">
<xsl:call-template name="anchor"/>
+
<xsl:if test="title">
<xsl:call-template name="formal.object.heading"/>
</xsl:if>
+
+ <xsl:apply-templates select="*[not(self::listitem or self::title)]"/>
+
<ol>
- <xsl:if test="$start != '1'">
- <xsl:attribute name="start">
- <xsl:value-of select="$start"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$numeration != ''">
- <xsl:attribute name="type">
- <xsl:value-of select="$type"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="@spacing='compact'">
- <xsl:attribute name="compact">
- <xsl:value-of select="compact"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:apply-templates select="listitem"/>
+ <xsl:if test="$start != '1'">
+ <xsl:attribute name="start">
+ <xsl:value-of select="$start"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$numeration != ''">
+ <xsl:attribute name="type">
+ <xsl:value-of select="$type"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@spacing='compact'">
+ <xsl:attribute name="compact">
+ <xsl:value-of select="compact"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:apply-templates select="listitem"/>
</ol>
</div>
</xsl:template>