map2textonly.xsl 529 B

123456789101112131415161718
  1. <?xml version="1.0"?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. Copyright 2010 IBM Corporation
  5. See the accompanying LICENSE file for applicable license.
  6. -->
  7. <xsl:stylesheet version="2.0"
  8. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  9. xmlns:dita-ot="http://dita-ot.sourceforge.net/ns/201007/dita-ot"
  10. exclude-result-prefixes="dita-ot"
  11. >
  12. <xsl:template match="*[contains(@class,' topic/fn ')][ancestor::*[contains(@class,' map/map ')]]"
  13. mode="dita-ot:text-only"/>
  14. </xsl:stylesheet>