Hi,
when I use <xref> in DocBook document, it should be enough to fill in the
required linkend attribute to see the linked text (for <section> and it's
<title>). It works fine for generated documents (HTML, WML), but XXE itself
displays only the name of id instead of the text (for instance title of
<section> when the id is on the <section>). I have to either add the
xreflabel and duplicate the title text or created another id on <title> and
use endterm attribute.
Is this CSS limitation?
Here is the code used to render xref in XXE (2.9p1):
xref {
content: icon(left-link)
xpath("if(id(@linkend)/@xreflabel, id(@linkend)/@xreflabel, @linkend)");
...
}
xref[endterm] {
content: icon(left-link) xpath("if(id(@endterm), id(@endterm), @endterm)");
}
Thanks Jan