]> 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)
commit24e5b7a133902c811e12ed4646f3883e57bb748d
treed21d1e3ea436161336ae25de55354627da0f2bbb
parent8d14dd191dcbf322deee97092c17d740b91fb56d
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]