From: Michael Smith Date: Tue, 14 Aug 2007 00:30:12 +0000 (+0000) Subject: Added single-pass namespace-stripping support to the htmlhelp, X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41e3fee2e8af11c3b1ca8513455c852be788bb60;p=docbook-dsssl Added single-pass namespace-stripping support to the htmlhelp, eclipse, and javahelp stylesheets. --- diff --git a/xsl/eclipse/eclipse.xsl b/xsl/eclipse/eclipse.xsl index 14dfccc7d..10779f5e5 100644 --- a/xsl/eclipse/eclipse.xsl +++ b/xsl/eclipse/eclipse.xsl @@ -1,6 +1,10 @@ + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="exsl"> @@ -15,6 +19,46 @@ ******************************************************************** --> + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + @@ -54,8 +98,8 @@ - - + + diff --git a/xsl/htmlhelp/htmlhelp-common.xsl b/xsl/htmlhelp/htmlhelp-common.xsl index 1eeba36e5..ab87babc2 100644 --- a/xsl/htmlhelp/htmlhelp-common.xsl +++ b/xsl/htmlhelp/htmlhelp-common.xsl @@ -3,14 +3,14 @@ '> ]> + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:exsl="http://exslt.org/common" + xmlns:set="http://exslt.org/sets" + xmlns:h="urn:x-hex" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + version="1.0" + exclude-result-prefixes="doc exsl set h db ng"> + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + @@ -88,6 +128,8 @@ + + diff --git a/xsl/javahelp/javahelp.xsl b/xsl/javahelp/javahelp.xsl index 4355e49b4..aee8c859e 100644 --- a/xsl/javahelp/javahelp.xsl +++ b/xsl/javahelp/javahelp.xsl @@ -1,10 +1,11 @@ + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="doc ng db exsl"> @@ -20,10 +21,49 @@ ******************************************************************** --> - + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + @@ -44,16 +84,16 @@ - + + - @@ -332,7 +372,6 @@ -