aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-09 08:55:14 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-09 08:55:14 +0000
commitc1fe047a4d7b6890809ba4ce2e25f290c5d11962 (patch)
treedf8ae9fb1adbe06584916a01634ed4148f07c913 /stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
parente7477591dd2a1302aadec48724cb070850caebee (diff)
Merged r8368 from new-xsl branch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8369 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl')
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl35
1 files changed, 5 insertions, 30 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
index 8ecb3d646..13abb7faf 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
@@ -16,18 +16,8 @@
See ../README or http://docbook.sf.net/release/xsl/current/ for
copyright and other information.
- This file contains general templates common to both the HTML and FO
- versions of the DocBook stylesheets.
******************************************************************** -->
-<xsl:import href="utility.xsl"/>
-
-<!-- * Get a title for current doc so that we let the user -->
-<!-- * know what document we are processing at this point. -->
-<xsl:variable name="doc.title">
- <xsl:call-template name="get.doc.title"/>
-</xsl:variable>
-
<!-- put an xml:base attribute on the root element -->
<xsl:template match="/*" mode="stripNS">
<xsl:choose>
@@ -267,26 +257,11 @@
<xsl:value-of select="NodeInfo:systemId()"/>
</xsl:when>
<xsl:otherwise>
- <xsl:call-template name="log.message">
- <xsl:with-param name="level">Warn</xsl:with-param>
- <xsl:with-param name="source" select="$doc.title"/>
- <xsl:with-param name="context-desc">
- <xsl:text>no @xml:base</xsl:text>
- </xsl:with-param>
- <xsl:with-param name="message">
- <xsl:text>cannot add @xml:base to node-set root element</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="log.message">
- <xsl:with-param name="level">Warn</xsl:with-param>
- <xsl:with-param name="source" select="$doc.title"/>
- <xsl:with-param name="context-desc">
- <xsl:text>no @xml:base</xsl:text>
- </xsl:with-param>
- <xsl:with-param name="message">
- <xsl:text>relative paths may not work</xsl:text>
- </xsl:with-param>
- </xsl:call-template>
+ <xsl:message>
+ <xsl:text>WARNING: cannot add @xml:base to node </xsl:text>
+ <xsl:text>set root element. </xsl:text>
+ <xsl:text>Relative paths may not work.</xsl:text>
+ </xsl:message>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>