docbook-apps

  • 1.  olink generated text question

    Posted 09-05-2007 12:17
    Hello there,

    I've recently started using DocBook and the XSL stylesheets (1.73.1).

    To create links between single documents I'm using the olink element.
    Everything works fine except for the link text that is generated.

    Since I just want a link to the document as a whole (not to a specific
    element within the document), I don't specify a targetptr attribute,
    i.e. my olink elements look like this:

    <olink targetdoc="OtherDoc" />.

    However, the rendered link (both HTML and FO/PDF) has the text

    Document Title"Section 1""Section 2""Figure a""Table I"...

    (it seems all


  • 2.  Re: [docbook-apps] olink generated text question

    Posted 09-05-2007 12:37
    Oliver Becker wrote:
    > Hello there,
    >
    > I've recently started using DocBook and the XSL stylesheets (1.73.1).
    >
    > To create links between single documents I'm using the olink element.
    > Everything works fine except for the link text that is generated.
    >
    > Since I just want a link to the document as a whole (not to a specific
    > element within the document),

    You could use an id for the root element as the target?





    regards

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



  • 3.  Re: [docbook-apps] olink generated text question

    Posted 09-05-2007 13:06
    Dave Pawson schrieb:
    > Oliver Becker wrote:
    >> Hello there,
    >>
    >> I've recently started using DocBook and the XSL stylesheets (1.73.1).
    >>
    >> To create links between single documents I'm using the olink element.
    >> Everything works fine except for the link text that is generated.
    >>
    >> Since I just want a link to the document as a whole (not to a specific
    >> element within the document),
    >
    > You could use an id for the root element as the target?


    That works, thanks Dave!

    So I suppose using <olink> without targetptr is not really supported by
    the stylesheets (or it is a droll feature).

    Cheers,
    Oliver



  • 4.  Re: [docbook-apps] olink generated text question

    Posted 09-05-2007 15:51
    Oliver Becker wrote:

    >> You could use an id for the root element as the target?
    >
    >
    > That works, thanks Dave!
    >
    > So I suppose using <olink> without targetptr is not really supported by
    > the stylesheets (or it is a droll feature).


    Sorry, don't know Oliver.
    But it seems to meet your need and the stylesheets... so.
    Anyway it works :-)

    Glad to see you using db!


    regards

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