docbook-apps

  • 1.  docbook v5 css with xlink

    Posted 08-02-2008 16:41
    Can anyone provide a link to docbook v5 examples using css.

    Version 4 examples can be found at:
    http://www.badgers-in-foil.co.uk/projects/docbook-css/tests/links.xml

    The link, as I have it, in the attached file doesn't work, css also included.

    Any help would be gratefully appreciated
    Paul

    Attachment(s)

    xml
    docbook_link.xml   633 B 1 version
    css
    docbook_pct.css   3 KB 1 version


  • 2.  Re: [docbook-apps] docbook v5 css with xlink

    Posted 08-02-2008 17:48
    PC Thoms wrote:
    > Can anyone provide a link to docbook v5 examples using css.
    >
    > Version 4 examples can be found at:
    > http://www.badgers-in-foil.co.uk/projects/docbook-css/tests/links.xml
    >
    > The link, as I have it, in the attached file doesn't work, css also included.

    DocBook V5 has element in namespace, so your CSS selectors should match
    namespaced element. You can achieve this very simply, just add the
    following line at the start of your CSS file:

    @namespace "http://docbook.org/ns/docbook";


    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------