clean-map.xsl 904 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- This file is part of the DITA Open Toolkit project.
  3. See the accompanying license.txt file for applicable licenses.-->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  6. version="2.0"
  7. exclude-result-prefixes="xs">
  8. <xsl:import href="../common/dita-utilities.xsl"/>
  9. <xsl:import href="../common/output-message.xsl"/>
  10. <!-- Deprecated since 2.3 -->
  11. <xsl:variable name="msgprefix">DOTX</xsl:variable>
  12. <xsl:template match="node() | @*">
  13. <xsl:copy>
  14. <xsl:apply-templates select="node() | @*"/>
  15. </xsl:copy>
  16. </xsl:template>
  17. <xsl:template match="*[contains(@class, ' ditaot-d/submap ')]">
  18. <xsl:apply-templates/>
  19. </xsl:template>
  20. <xsl:template match="*[contains(@class, ' ditaot-d/keydef ')]"/>
  21. </xsl:stylesheet>