step1-sw-d.xsl 1.0 KB

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