-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:siha="http://www.a-sit.at/siha" xmlns:fo="http://www.w3.org/1999/XSL/Format">
-<!--
 
    ************************************************************
    ** fo-rtf/list-item.xsl
    ************************************************************
   
-->
-<!--
 
    ************************************************************
    ** matching itemize or enumerate
    ************************************************************
   
-->
-<xsl:template match="siha:itemize | siha:enumerate" mode="content">
-<xsl:element name="fo:block" use-attribute-sets="list.body.style">
<xsl:attribute name="space-after">12pt</xsl:attribute>
-<xsl:if test="$debug.mode='on'">
<xsl:attribute name="color">red</xsl:attribute>
<xsl:attribute name="border-color">red</xsl:attribute>
<xsl:attribute name="border-style">solid</xsl:attribute>
<xsl:attribute name="border-width">thin</xsl:attribute>
</xsl:if>
-<fo:list-block space-after="12pt">
<xsl:apply-templates mode="content"/>
</fo:list-block>
</xsl:element>
</xsl:template>
<xsl:template match="siha:item/siha:role" mode="content"/>
-<xsl:template match="siha:itemize/siha:item" mode="content">
-<fo:list-item>
<xsl:call-template name="process.item.label"/>
<xsl:call-template name="process.item.body"/>
</fo:list-item>
</xsl:template>
-<xsl:template match="siha:enumerate/siha:item" mode="content">
-<fo:list-item>
<xsl:call-template name="process.ordered.item.label"/>
<xsl:call-template name="process.item.body"/>
</fo:list-item>
</xsl:template>
-<xsl:template name="process.item.label">
-<fo:list-item-label end-indent="label-end()">
-<fo:block xsl:use-attribute-sets="list.label.style">
<xsl:text></xsl:text>
</fo:block>
</fo:list-item-label>
</xsl:template>
-<xsl:template name="process.ordered.item.label">
-<fo:list-item-label end-indent="label-end()">
-<fo:block xsl:use-attribute-sets="list.label.style">
<xsl:number format="1."/>
</fo:block>
</fo:list-item-label>
</xsl:template>
-<xsl:template name="process.item.body">
-<fo:list-item-body start-indent="body-start()" text-align="left">
-<xsl:element name="fo:block" use-attribute-sets="list.body.style">
-<!--
  
         <xsl:attribute name="start-indent">from-parent()</xsl:attribute>
       
-->
<xsl:attribute name="start-indent">15pt</xsl:attribute>
<xsl:attribute name="text-align">justify</xsl:attribute>
-<xsl:if test="$debug.mode='on'">
<xsl:attribute name="color">blue</xsl:attribute>
<xsl:attribute name="border-color">blue</xsl:attribute>
<xsl:attribute name="border-style">solid</xsl:attribute>
<xsl:attribute name="border-width">thin</xsl:attribute>
</xsl:if>
<xsl:apply-templates mode="content"/>
</xsl:element>
</fo:list-item-body>
</xsl:template>
</xsl:stylesheet>