| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- This file is part of the DITA Open Toolkit project.
- See the accompanying license.txt file for applicable licenses.
- -->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version="2.0">
- <xsl:template match="*[contains(@class,' ut-d/imagemap ')]">
- <fo:inline>
- <xsl:call-template name="commonattributes"/>
- </fo:inline>
- <xsl:apply-templates select="*[contains(@class,' topic/image ')]"/>
- <fo:list-block xsl:use-attribute-sets="ol">
- <xsl:apply-templates select="*[contains(@class,' ut-d/area ')]"/>
- </fo:list-block>
- </xsl:template>
- <xsl:template match="*[contains(@class,' ut-d/area ')]">
- <fo:list-item xsl:use-attribute-sets="ol.li">
- <xsl:call-template name="commonattributes"/>
- <fo:list-item-label xsl:use-attribute-sets="ol.li__label">
- <fo:block xsl:use-attribute-sets="ol.li__label__content">
- <xsl:call-template name="getVariable">
- <xsl:with-param name="id" select="'Ordered List Number'"/>
- <xsl:with-param name="params">
- <number>
- <xsl:number/>
- </number>
- </xsl:with-param>
- </xsl:call-template>
- </fo:block>
- </fo:list-item-label>
- <fo:list-item-body xsl:use-attribute-sets="ol.li__body">
- <fo:block xsl:use-attribute-sets="ol.li__content">
- <xsl:apply-templates/>
- </fo:block>
- </fo:list-item-body>
- </fo:list-item>
- </xsl:template>
- <xsl:template match="*[contains(@class,' ut-d/shape ')]"/>
- <xsl:template match="*[contains(@class,' ut-d/coords ')]"/>
- </xsl:stylesheet>
|