docbook-apps

xlink:show="new" support omits link element

  • 1.  xlink:show="new" support omits link element

    Posted 06-02-2012 23:40
    Version 1.77.0 adds support for xlink:show="new", so you can open an
    HTML link in a new window instead of replacing the current window. It
    works for various inline elements, but not for link itself. Is this a
    bug? For example this link

    <para>Audio</para>

    ... generates XHTML link output with the wrong target value:

    Audio



    Changing the element from link to phrase works:
    <para><phrase xlink:href="my.mp3" xlink:show="new">Audio</phrase></para>

    Resulting in the target I expect:

    target="_blank">Audio



    As far as I can trace it, inline.xsl seems to omit link when it
    enumerates all the supported elements, so simple.xlink doesn't get called.

    Thanks,
    Denis