This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<xsl:stylesheet version="2.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- | |
Numbered Headings in PDF output per <http://tech.groups.yahoo.com/group/dita-users/message/26819>, 26827, 26828 & 26794 | |
Template created via DITA-OT PDF plug-in generator <http://dita-generator.appspot.com/pdf-plugin> by Jarno Elovirta --> | |
<xsl:template match="*" mode="getTitle"> | |
<xsl:variable name="topic" select="ancestor-or-self::*[contains(@class, ' topic/topic ')][1]" /> | |
<xsl:variable name="id" select="$topic/@id" /> | |
<xsl:variable name="mapTopics" select="key('map-id', $id)" /> |