docbook-apps

extending db5, html vs fo customization

  • 1.  extending db5, html vs fo customization

    Posted 05-11-2009 09:47
    I've a namespace problem which I think is interim, awaiting a full
    set of xslt 2.0 stylesheets !


    I've extended docbook to include a poem.

    <poem xmlns="http://docbook.org/ns/docbook">
    <author>Irene Jones</author>
    <dateline>1960-70</dateline>

    I'm using the snapshot stylesheets.

    For HTML it seems to be working fine. All my templates are namespaced.

    In my customization layer I've added templates
    for (namespaced) elements and it's all working well.

    For the fo output it isn't.

    I've added both namespaced and non-namespaced templates
    and .... I'm getting 'red' marked up raw XML in the PDF
    from xep.

    I've a feeling its to do with the namespace stripping
    stage, and I can't figure out which way round it should be.

    Any thoughts please?


    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk