From 30bbd2a6bae91d5aeb8950150b1c42d266ec70ca Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 25 Jun 2007 04:31:08 +0000 Subject: [PATCH] Restored support for single-pass namespace stripping to manpages stylesheet. --- xsl/manpages/docbook.xsl | 87 ++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 57 deletions(-) diff --git a/xsl/manpages/docbook.xsl b/xsl/manpages/docbook.xsl index 95c8e3a92..5b97ebb5b 100644 --- a/xsl/manpages/docbook.xsl +++ b/xsl/manpages/docbook.xsl @@ -47,66 +47,39 @@ - - - - - - - - - - - + + + + - + + + - Erro - + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + Note + - namespace + namesp. cut - Can't process namespaced DocBook document. + processing stripped document - - To create man-page output from a namespaced DocBook document - - (DocBook 5 or later), you must either use the docbook5-xsl - - stylesheets: - - - http://docbook.sf.net/files/docbook5-xsl/latest - - - Or you must first pre-process your document with the - - stripns.xsl stylesheet to strip the namespace. You can strip - - the namespace and convert the document to man-page output in - - one pass using a pipe; for example: - - - xsltproc \ - - http://docbook.sf.net/release/xsl/current/common/stripns.xsl \ - - - - .xml \ - - | xsltproc \ - - http://docbook.sf.net/release/xsl/current/manpages/docbook.xsl - - + @@ -142,21 +115,21 @@ Erro - + no refentry No refentry elements found - + in " - - + + ... - + " -- 2.40.0