highlight.xsl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="ASCII"?>
  2. <!--This file was created automatically by html2xhtml-->
  3. <!--from the HTML stylesheets.-->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslthl="http://xslthl.sf.net" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xslthl" version="1.0">
  5. <!-- ********************************************************************
  6. $Id$
  7. ********************************************************************
  8. This file is part of the XSL DocBook Stylesheet distribution.
  9. See ../README or http://nwalsh.com/docbook/xsl/ for copyright
  10. and other information.
  11. ******************************************************************** -->
  12. <xsl:template match="xslthl:keyword">
  13. <b class="hl-keyword"><xsl:apply-templates/></b>
  14. </xsl:template>
  15. <xsl:template match="xslthl:string">
  16. <b class="hl-string"><i><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></i></b>
  17. </xsl:template>
  18. <xsl:template match="xslthl:comment">
  19. <i class="hl-comment"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></i>
  20. </xsl:template>
  21. <xsl:template match="xslthl:tag">
  22. <b class="hl-tag"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></b>
  23. </xsl:template>
  24. <xsl:template match="xslthl:attribute">
  25. <span class="hl-attribute"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></span>
  26. </xsl:template>
  27. <xsl:template match="xslthl:value">
  28. <span class="hl-value"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></span>
  29. </xsl:template>
  30. <xsl:template match="xslthl:html">
  31. <b><i><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></i></b>
  32. </xsl:template>
  33. <xsl:template match="xslthl:xslt">
  34. <b><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></b>
  35. </xsl:template>
  36. <xsl:template match="xslthl:section">
  37. <b><xsl:apply-templates/></b>
  38. </xsl:template>
  39. </xsl:stylesheet>