[Kimchi-devel] [PATCH] Changed xsl file to include stylesheet
Kersten Richter
kersten at us.ibm.com
Wed Mar 12 17:54:37 UTC 2014
I added a line to the dita-help.xsl file in order to get the stylesheet included
Signed-off-by: Kersten Richter <kersten at us.ibm.com>
---
ui/pages/help/dita-help.xsl | 49 ++++++++++++++++++++++---------------------
1 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/ui/pages/help/dita-help.xsl b/ui/pages/help/dita-help.xsl
index 18f9496..0954c39 100644
--- a/ui/pages/help/dita-help.xsl
+++ b/ui/pages/help/dita-help.xsl
@@ -1,24 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
- <xsl:output method="xml" indent="yes" encoding="UTF-8" />
-
- <xsl:template match="/">
- <html>
- <head>
- <title><xsl:value-of select="/cshelp/title" /></title>
- <link rel="shortcut icon" href="../images/logo.ico" />
- </head>
- <body>
- <xsl:apply-templates select="//cshelp" />
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="cshelp">
- <h1><xsl:value-of select="title" /></h1>
- <p class="shortdesc"><xsl:value-of select="shortdesc" /></p>
- <p class="csbody"><xsl:copy-of select="csbody/node()" /></p>
- </xsl:template>
-</xsl:stylesheet>
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:output method="xml" indent="yes" encoding="UTF-8" />
+
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title><xsl:value-of select="/cshelp/title" /></title>
+ <link rel="shortcut icon" href="../images/logo.ico" />
+<link rel="stylesheet" type="text/css" href="kimchi.css" />
+ </head>
+ <body>
+ <xsl:apply-templates select="//cshelp" />
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="cshelp">
+ <h1><xsl:value-of select="title" /></h1>
+ <p class="shortdesc"><xsl:value-of select="shortdesc" /></p>
+ <p class="csbody"><xsl:copy-of select="csbody/node()" /></p>
+ </xsl:template>
+</xsl:stylesheet>
--
1.7.1
More information about the Kimchi-devel
mailing list