markup-d.xsl 564 B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. Copyright 2014 Jarno Elovirta
  5. See the accompanying LICENSE file for applicable license.
  6. -->
  7. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  8. version="2.0">
  9. <xsl:template match="*[contains(@class, ' markup-d/markupname ')]">
  10. <code>
  11. <xsl:call-template name="commonattributes"/>
  12. <xsl:text>&lt;</xsl:text>
  13. <xsl:apply-templates/>
  14. <xsl:text>&gt;</xsl:text>
  15. </code>
  16. </xsl:template>
  17. </xsl:stylesheet>