step1-sw-d.xsl 973 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0"?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. Copyright 2004, 2006 IBM Corporation
  5. See the accompanying LICENSE file for applicable license.
  6. -->
  7. <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  8. <xsl:output method="xml"/>
  9. <xsl:template match="*[contains(@class,' sw-d/msgph ')]">
  10. <text style="tt"><xsl:call-template name="commonatts"/><xsl:apply-templates/></text>
  11. </xsl:template>
  12. <xsl:template match="*[contains(@class,' sw-d/systemoutput ')]">
  13. <text style="tt"><xsl:call-template name="commonatts"/><xsl:apply-templates/></text>
  14. </xsl:template>
  15. <xsl:template match="*[contains(@class,' sw-d/userinput ')]">
  16. <text style="tt"><xsl:call-template name="commonatts"/><xsl:apply-templates/></text>
  17. </xsl:template>
  18. <xsl:template match="*[contains(@class,' sw-d/varname ')]">
  19. <text style="italics"><xsl:call-template name="commonatts"/><xsl:apply-templates/></text>
  20. </xsl:template>
  21. </xsl:stylesheet>