summaryrefslogtreecommitdiff
path: root/doc/xmlstar-fodoc-style.xsl
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
committerSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
commit7122fb9745e4622cb4c5d340cf1557e2fda1efe3 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /doc/xmlstar-fodoc-style.xsl
downloadxmlstarlet-2.3a_release.tar.gz
xmlstarlet-2.3a_release.tar.bz2
xmlstarlet-2.3a_release.zip
Diffstat (limited to 'doc/xmlstar-fodoc-style.xsl')
-rw-r--r--doc/xmlstar-fodoc-style.xsl17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/xmlstar-fodoc-style.xsl b/doc/xmlstar-fodoc-style.xsl
new file mode 100644
index 0000000..11eaedb
--- /dev/null
+++ b/doc/xmlstar-fodoc-style.xsl
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>
+
+ <xsl:param name="fop1.extensions" select="1"/>
+
+ <xsl:attribute-set name="toc.line.properties">
+ <xsl:attribute name="font-weight">
+ <xsl:choose>
+ <xsl:when test="self::chapter">bold</xsl:when>
+ <xsl:otherwise>normal</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+</xsl:stylesheet>