Author: ks
Date: Mon Sep 24 17:35:25 2007
New Revision: 6248
Log:
- Added support for html title.
Modified:
experimental/Document/src/converters/xhtml_docbook.xsl
Modified: experimental/Document/src/converters/xhtml_docbook.xsl
==============================================================================
--- experimental/Document/src/converters/xhtml_docbook.xsl [iso-8859-1]
(original)
+++ experimental/Document/src/converters/xhtml_docbook.xsl [iso-8859-1] Mon Sep
24 17:35:25 2007
@@ -13,7 +13,19 @@
<!-- Main block-level conversions -->
<xsl:template match="html:html">
+ <xsl:apply-templates select="html:head"/>
<xsl:apply-templates select="html:body"/>
+</xsl:template>
+
+<!-- HTML Title -->
+<xsl:template match="html:head">
+ <articleinfo>
+ <xsl:apply-templates select='html:title'/>
+ </articleinfo>
+</xsl:template>
+
+<xsl:template match="html:title">
+ <title><xsl:value-of select='.'/></title>
</xsl:template>
<!-- This template converts each HTML file encountered into a DocBook
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components