1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Clean up XSL

This commit is contained in:
Jelmer Vernooij 2004-05-20 21:04:57 +00:00 committed by Gerald W. Carter
parent 1f6ec86c55
commit d8fba4d565
3 changed files with 2 additions and 17 deletions

View File

@ -157,7 +157,6 @@ clean:
rm -f Samba-Developers-Guide.*
rm -f Samba-Guide.*
rm -f $(IMAGEPROJDIR)/*.eps $(MANPAGEDIR)/smb.conf.5.xml
rm -f $(PLUCKERDIR)/*.pdb
# Text files
$(TXTDIR):

View File

@ -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">
&lt;!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" [
&lt;!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()">

View File

@ -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()">