OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Specify XHTML "<a title=..." in "<ulink ..."?


unfortunately this is hard to search for in internet search
engines: Is there a way to specify something in a ulink that
creates a title for an XHTML <a> element with the DocBook XSL
stylesheets? I did not find anything in xhtml/xref.xsl. I'm
still using DocBook 4.5 with stylesheets 1.73.2.

It's easy to (mis)use the role attribute, but it seems not clean
to me and maybe I will need the role for another purpose.

  <xsl:template match="ulink[string-length(@role)>0]">
    <span xmlns="http://www.w3.org/1999/xhtml";>
      <xsl:attribute name="title">
        <xsl:value-of select="@role"/>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]