docbook-apps

XHTML titlepage customization

  • 1.  XHTML titlepage customization

    Posted 11-06-2007 09:30
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi,

    Trying to set up a titlepage configuration for XHTML generated output.
    The XSL package, however, does contain any titlepage.templates.xml file
    in the xhtml directory. Is there an explanation for this?

    Anyway, decided to use the titlepage.templates.xml provided in the html
    directory instead, and then use the setup/approach as described in

    http://www.sagehill.net/docbookxsl/HTMLTitlePage.html

    This apparently works, at least in the sense that things are positioned
    and used as expected from the elements added within

    <book>
    <info>
    stuff
    </info>
    </book>

    However, when I process my files, I get the warning

    No template for "/book/info" (or any of its leaves) exists
    in the context named "title" in the "en" localization.

    Changing <info> to <bookinfo> just changes the above error to

    No template for "/book/bookinfo" (or any of its leaves) exists
    in the context named "title" in the "en" localization.

    Still, the generated XHTML looks OK, but still - I don't like errors nor
    warnings things they typically imply that something is wrong.

    BTW. Did a similar setup for FO, but there everything works just fine
    for the same set of DocBook input.

    Best regards,

    Mads





    - --
    +---------------------------------+-------------------------+
    | Mads Ipsen | |
    | Product Support Specialist | phone: +45-35320630 |
    | Atomistix A/S | fax: +45-35320635 |
    | Juliane Maries Vej 30 | |
    | DK-2100 Copenhagen | mpi@atomistix.com |
    +---------------------------------+-------------------------+
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFHMDQiUiXEzEUa8LARAgRJAKCMtBzlOg7fD5lRJxjmCTV/fMiQLgCcCwAM
    4zdj1Ed0BwK+6saO7fhW2Zk=
    =KEJ5
    -----END PGP SIGNATURE-----