OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] use docbook5 with xsltproc

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. :)

  Thomas Schraitle

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]