]> granicus.if.org Git - docbook-dsssl/commit
Standalone stylesheet for stripping namespaces from DocBook 5/NG
authorMichael Smith <xmldoc@users.sourceforge.net>
Sun, 29 May 2005 09:00:28 +0000 (09:00 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sun, 29 May 2005 09:00:28 +0000 (09:00 +0000)
commitad2bb070348f4b4515b610f45267f1154c4eb35d
treebd673c411f5ed0ffc0c2e2fa1698c8c88b12d3cf
parent8ebae7030187fb2a3e9b08de0b266cd51d7602e1
Standalone stylesheet for stripping namespaces from DocBook 5/NG
docs. You currently need to do two-pass processing to use this:
First, transform your DocBook 5/NG source doc using this, then
transform the result as usual with the manpages/docbook.xsl
stylesheet. Of course you can always run the process using a pipe
if you want. Example:

  xsltproc ./manpages/stripns.xsl myRefEntry.xml \
    | xsltproc ./manpages/docbook.xsl

It may be that there is actually some way to set it up as a
single-pass XSLT process, as is done with the HTML stylesheets.
But I've not yet figured out how to get that to work...
xsl/manpages/stripns.xsl [new file with mode: 0644]