| | |
| | | ! |
| | | --> |
| | | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| | | xmlns:xslthl="http://xslthl.sf.net" exclude-result-prefixes="xslthl" |
| | | version="1.0"> |
| | | <xsl:import href="urn:docbkx:stylesheet" /> |
| | | <xsl:import href="urn:docbkx:stylesheet/highlight.xsl" /> |
| | | |
| | | <xsl:param name="html.stylesheet">css/coredoc.css</xsl:param> |
| | | <xsl:param name="chunk.section.depth" select="0" /> |
| | |
| | | <xsl:param name="toc.section.depth" select="1" /> |
| | | <xsl:param name="toc.max.depth" select="1" /> |
| | | <xsl:param name="generate.meta.abstract" select="1" /> |
| | | |
| | | <xsl:template match="xslthl:keyword" mode="xslthl"> |
| | | <strong class="hl-keyword"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </strong> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:string" mode="xslthl"> |
| | | <strong class="hl-string"> |
| | | <em style="color: #f58220"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </em> |
| | | </strong> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:comment" mode="xslthl"> |
| | | <em class="hl-comment" style="color: #868686"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </em> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:directive" mode="xslthl"> |
| | | <span class="hl-directive" style="color: #868686"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </span> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:tag" mode="xslthl"> |
| | | <strong class="hl-tag" style="color: #f58220"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </strong> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:attribute" mode="xslthl"> |
| | | <span class="hl-attribute" style="color: #868686"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </span> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:value" mode="xslthl"> |
| | | <span class="hl-value" style="color: #333"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </span> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:html" mode="xslthl"> |
| | | <strong> |
| | | <em style="color: #f58220"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </em> |
| | | </strong> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:xslt" mode="xslthl"> |
| | | <strong style="color: #868686"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </strong> |
| | | </xsl:template> |
| | | <!-- Not emitted since XSLTHL 2.0 --> |
| | | <xsl:template match="xslthl:section" mode="xslthl"> |
| | | <strong> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </strong> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:number" mode="xslthl"> |
| | | <span class="hl-number"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </span> |
| | | </xsl:template> |
| | | <xsl:template match="xslthl:annotation" mode="xslthl"> |
| | | <em> |
| | | <span class="hl-annotation" style="color: #868686"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </span> |
| | | </em> |
| | | </xsl:template> |
| | | <!-- Not sure which element will be in final XSLTHL 2.0 --> |
| | | <xsl:template match="xslthl:doccomment|xslthl:doctype" mode="xslthl"> |
| | | <strong class="hl-tag" style="color: #868686"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | | </strong> |
| | | </xsl:template> |
| | | </xsl:stylesheet> |