Author: ochikvina
Date: 2008-06-10 11:43:52 -0400 (Tue, 10 Jun 2008)
New Revision: 8682
Modified:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - highlighting meaningful words
Modified:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl
===================================================================
---
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl 2008-06-10
15:17:47 UTC (rev 8681)
+++
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl 2008-06-10
15:43:52 UTC (rev 8682)
@@ -6,12 +6,11 @@
Author: Mark Newton <mark.newton(a)jboss.org>
-->
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
-
+
<!-- overwriting links properties -->
- <xsl:param name="ulink.show" select="0"></xsl:param>
<xsl:attribute-set name="xref.properties">
<xsl:attribute name="text-decoration">
@@ -23,5 +22,13 @@
</xsl:attribute>
</xsl:attribute-set>
+ <!-- highlighting meaningful words -->
+ <xsl:template match="property">
+ <xsl:variable name="currant" select="child::node()"/>
+ <fo:inline color="#0066cc">
+ <xsl:value-of select="$currant"/>
+ </fo:inline>
+ </xsl:template>
+
</xsl:stylesheet>