diff options
Diffstat (limited to 'docs/xslt/expand-sambadoc.xsl')
-rw-r--r-- | docs/xslt/expand-sambadoc.xsl | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index 8db39b56e8..dfdc240180 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -14,7 +14,7 @@ <xsl:import href="../settings.xsl"/> - <xsl:output method="xml"/> + <xsl:output method="xml" encoding="UTF-8" doctype-public="-//OASIS//DTD DocBook XML V4.2//EN" indent="yes" doctype-system="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"/> <xsl:param name="xmlSambaNsUri" select="'http://samba.org/common'"/> @@ -70,20 +70,6 @@ </xsl:element> </xsl:template> - <xsl:template match="/node()"> - <xsl:text disable-output-escaping="yes"> - <!DOCTYPE </xsl:text><xsl:value-of select="name(.)"/><xsl:text disable-output-escaping="yes"> PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" - "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ - - <!ENTITY % globalentities SYSTEM 'entities/global.entities'> %globalentities; - ]> - </xsl:text> - <xsl:copy> - <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> - <xsl:apply-templates/> - </xsl:copy> - </xsl:template> - <!-- This is needed to copy content unchanged --> <xsl:template match="@*|node()"> |