sw-d.xsl 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsl:stylesheet version="2.0"
  3. xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  4. <xsl:template match="*[contains(@class,' sw-d/filepath ')]" name="topic.sw-d.filepath">
  5. <span class="filepath">
  6. <xsl:call-template name="commonattributes"/>
  7. <xsl:call-template name="setidaname"/>
  8. <xsl:apply-templates/>
  9. </span>
  10. </xsl:template>
  11. <xsl:template match="*[contains(@class,' sw-d/msgph ')]" name="topic.sw-d.msgph">
  12. <span class="msgph">
  13. <xsl:call-template name="commonattributes"/>
  14. <xsl:call-template name="setidaname"/>
  15. <xsl:apply-templates/>
  16. </span>
  17. </xsl:template>
  18. <xsl:template match="*[contains(@class,' sw-d/userinput ')]" name="topic.sw-d.userinput">
  19. <span class="userinput">
  20. <xsl:call-template name="commonattributes"/>
  21. <xsl:call-template name="setidaname"/>
  22. <xsl:apply-templates/>
  23. </span>
  24. </xsl:template>
  25. <xsl:template match="*[contains(@class,' sw-d/systemoutput ')]" name="topic.sw-d.systemoutput">
  26. <span class="sysout">
  27. <xsl:call-template name="commonattributes"/>
  28. <xsl:call-template name="setidaname"/>
  29. <xsl:apply-templates/>
  30. </span>
  31. </xsl:template>
  32. <xsl:template match="*[contains(@class,' sw-d/cmdname ')]" name="topic.sw-d.cmdname">
  33. <span class="cmdname">
  34. <xsl:call-template name="commonattributes"/>
  35. <xsl:call-template name="setidaname"/>
  36. <xsl:apply-templates/>
  37. </span>
  38. </xsl:template>
  39. <xsl:template match="*[contains(@class,' sw-d/msgnum ')]" name="topic.sw-d.msgnum">
  40. <span class="msgnum">
  41. <xsl:call-template name="commonattributes"/>
  42. <xsl:call-template name="setidaname"/>
  43. <xsl:apply-templates/>
  44. </span>
  45. </xsl:template>
  46. <xsl:template match="*[contains(@class,' sw-d/varname ')]" name="topic.sw-d.varname">
  47. <span class="varname">
  48. <xsl:call-template name="commonattributes"/>
  49. <xsl:call-template name="setidaname"/>
  50. <xsl:apply-templates/>
  51. </span>
  52. </xsl:template>
  53. </xsl:stylesheet>