Created Debian package
[xmldoc.git] / html.xsl
index ec13895..ac20845 100644 (file)
--- a/html.xsl
+++ b/html.xsl
@@ -9,12 +9,16 @@
 <xsl:template match="doc">
 <xsl:element name="html" namespace="http://www.w3.org/1999/xhtml">
 <head>
+   <meta charset="utf-8"/>
    <link>
    <xsl:attribute name="rel">stylesheet</xsl:attribute>
    <xsl:attribute name="type">text/css</xsl:attribute>
    <xsl:attribute name="href"><xsl:value-of select="@style"/></xsl:attribute>
    </link>
    <title>
+      <xsl:if test='not(*/titlepage/title)'>
+      -
+      </xsl:if>
       <xsl:value-of select="*/titlepage/title"/>
    </title>
    <style type="text/css">