docbook-apps

  • 1.  Re: [docbook-apps] titlepage customization

    Posted 04-24-2009 23:04
    Well, that example is known to work with DocBook 4. If you are using the
    DocBook 5 namespace stylesheets, you would need to add the namespace to the
    element names (and use info instead of bookinfo).

    If you aren't using DocBook5, then more information is needed about your
    customization, and perhaps a short example document file.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] titlepage customization

    Posted 04-25-2009 15:12
    Thanks, you're right, it's namespaces. Need to amend the code the look
    like this

    <xsl:when test="d:info/d:title">
    <xsl:apply-templates
    mode="book.titlepage.recto.auto.mode"
    select="d:info/d:title"/>

    and it all works.

    On 25 Apr 2009, at 00:03, Bob Stayton wrote:

    > Well, that example is known to work with DocBook 4. If you are
    > using the DocBook 5 namespace stylesheets, you would need to add the
    > namespace to the element names (and use info instead of bookinfo).
    >