Author: ochikvina
Date: 2008-10-29 12:08:27 -0400 (Wed, 29 Oct 2008)
New Revision: 11297
Modified:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl
Log:
https://jira.jboss.org/jira/browse/JBDS-463 - adding highlighting for the diffmkwrapper;
Modified:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl
===================================================================
---
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl 2008-10-29
15:46:17 UTC (rev 11296)
+++
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/com/jboss/tools/common.xsl 2008-10-29
16:08:27 UTC (rev 11297)
@@ -131,7 +131,14 @@
</xsl:template>
<!-- XHTML and PDF -->
- <xsl:template match="//node()[@diffmk:change]">
+
+ <xsl:template match="//diffmk:wrapper">
+ <span class="diffmkwrapper">
+ <xsl:value-of select="."/>
+ </span>
+ </xsl:template>
+
+ <!--xsl:template match="//node()[@diffmk:change]">
<xsl:choose>
<xsl:when test="local-name()='note' or local-name()='tip' or
local-name()='important' or local-name()='warning' or
local-name()='caution'">
<xsl:call-template name="my.graphical.admonition"/>
@@ -178,7 +185,9 @@
<xsl:apply-templates />
</div>
</div>
- </xsl:template>
+ </xsl:template-->
+
+
<xsl:template match="abstract" mode="titlepage.mode">
<xsl:apply-templates select="." mode="class.attribute"/>
<xsl:call-template name="paragraph">