docbook-apps

Re: [docbook-apps] Stripping namespace from DocBook 5 document

  • 1.  Re: [docbook-apps] Stripping namespace from DocBook 5 document

    Posted 07-22-2007 19:48
    Hi,
    Those messages are expected, given your setup. In DocBook5, elements are
    in the docbook namespace, as you specified in your document root element.
    The original XSL stylesheets are not written for elements in that
    namespace. When the stylesheet detects a root element in the docbook
    namespace, it first builds a copy of the document in memory while stripping
    the namespace from the elements. Then it processes the copy.

    If you want to eliminate that message, then process with the docbook-xsl-ns
    (namespace-aware) version of the stylesheets. That is in a separate
    download on the SourceForge site. In general, I would recommend that set
    for processing DocBook5 documents.

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net