Hi,
Below is my code
<xsl:variable name="id.lof" select="'ID_LOF_00-0F-EA-40-0D-4D'"/>
<xsl:template name="createLOFHeader">
<fo:block xsl:use-attribute-sets="__lotf__heading" id="{$id.lof}">
<fo:marker marker-class-name="current-header">
<xsl:call-template name="insertVariable">
<xsl:with-param name="theVariableID" select="'List of Figures'"/>
</xsl:call-template>
</fo:marker>
</fo:block>
</xsl:template>
<xsl:template match="ot-placeholder:figurelist" mode="toc" name="figurelist">
<xsl:if test="//*[contains(@class, ' topic/fig ')]/*[contains(@class, ' topic/title ' )]">
<fo:block>
<fo:block >
<fo:basic-link internal-destination="{$id.lof}" xsl:use-attribute-sets="__toc__link">
<fo:inline xsl:use-attribute-sets="__toc__title">
<xsl:call-template name="insertVariable">
<xsl:with-param name="theVariableID" select="'List of Figures'"/>
</xsl:call-template>
</fo:inline>
<fo:inline xsl:use-attribute-sets="__toc__page-number">
<fo:leader xsl:use-attribute-sets="__toc__leader"/>
<fo:page-number-citation ref-id="{$id.lof}"/>
</fo:inline>
</fo:basic-link>
</fo:block>
</fo:block>
</xsl:if>
</xsl:template>
I called this template in root-processing.xsl
<xsl:if test="//*[contains(@class, ' bookmap/booklists ')]/*[contains(@class, ' bookmap/figurelist ')]">
<fo:block><xsl:call-template name="figurelist"/></fo:block>
</xsl:if>