diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-05-20 21:04:57 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:51 -0500 |
commit | 6878ba7aac3f04908357c5f816fab696894f3ec0 (patch) | |
tree | bb21760bbba0b9d1e7dba7f227988284cb4b5476 /docs/xslt | |
parent | 0e4d73b9e00c7ba12379dcbc4738ff85501ccdfd (diff) | |
download | samba-6878ba7aac3f04908357c5f816fab696894f3ec0.tar.gz samba-6878ba7aac3f04908357c5f816fab696894f3ec0.tar.bz2 samba-6878ba7aac3f04908357c5f816fab696894f3ec0.zip |
Clean up XSL
(This used to be commit d8fba4d56536e43aae2e34838fa37ac5d4087e33)
Diffstat (limited to 'docs/xslt')
-rw-r--r-- | docs/xslt/expand-sambadoc.xsl | 16 | ||||
-rw-r--r-- | docs/xslt/generate-attributions.xsl | 2 |
2 files changed, 2 insertions, 16 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()"> diff --git a/docs/xslt/generate-attributions.xsl b/docs/xslt/generate-attributions.xsl index 79bf942504..d358f1c59e 100644 --- a/docs/xslt/generate-attributions.xsl +++ b/docs/xslt/generate-attributions.xsl @@ -9,7 +9,7 @@ version="1.1" extension-element-prefixes="exsl"> -<xsl:output method="xml" omit-xml-declaration="yes"/> +<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/> <!-- Remove all character data --> <xsl:template match="@*|node()"> |