Re: use docbook5 with xsltproc

Thomas Schraitle <[email protected]>
Newsgroups gmane.text.docbook.misc
Message-ID <4603434.LhWvXnLoHG@localhost>
Hi Pierre

Am Sonntag, 20. Mai 2018, 20:04:40 CEST schrieb openhab.doc:
>
> I'm sorry! The output is:

No problem. :-)


> Note: namesp. cut : stripped namespace before processing           An
> Example Book

Ahh! :-D This is normal message, no need to worry.

If you are interested in a longer explanation:
The DocBook stylesheets come in two variants: the non-ns variant and the ns 
variant. Both can handle input from both versions of DocBook (4 or 5).

However, when the ns-variant of the stylesheet discovers a DocBook 4 document, 
it converts all DocBook 4 elements into DocBook 5 elements by adding the 
DocBook 5 namespace. This is done internally.

When the non-ns variant of the stylesheet discovers a DocBook 5 element, it 
strips the namespace to get a DocBook 4 element.

This is what you see.

To avoid this message, use the ns variant of the stylesheets to transform your 
DocBook 5 document. See https://github.com/docbook/xslt10-stylesheets/releases 
to download the correct variant.

Hope that helps. :)

-- 
Gruß/Regards
  Thomas Schraitle
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.