[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Customizing xref to a listitem
Hi,
I'm not understanding the context of this
template. I presume your input document has non-DocBook <jlistref>
elements so the template matches on that element, right? Then it generates
DocBook <phrase> and <xref> elements. Don't those appear in
the FO and HTML outputs? That's what I would expect if
this template appears in a DocBook XSL customization layer. Are
you somehow subsequently processing these generated DocBook elements with
additional templates? Perhaps you can describe a bit more of how you are
using this template.
In any case, there is an easier way to customize
the text in cross references. Have you tried customizing the gentext
string used in the stylesheet? That process is described
here:
You would customize the @text attribute inside
<l:template name="listitem"> in context <l:context
name="xref">. You would do this in your HTML customization layer and
your PDF customization layer, using different text strings.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]