I believe in this case he can just set xref.with.number.and.title to 0. See:
http://docbook.sourceforge.net/release/xsl/current/doc/html/xref.with.number.and.title.html
and:
http://www.sagehill.net/docbookxsl/CustomXrefs.html#XrefGentext
David
> -----Original Message-----
> From: Tobias Anstett [k15t.com] [mailto:]
> Sent: Monday, May 18, 2009 2:49 AM
> To: Johan Persson
> Cc: docbook-apps
> Subject: Re: [docbook-apps] Easy wasy to remove generated
> title in xref?
>
> Hi Johan,
>
> you can simple override the generated text in your
> customization layer:
>
> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
> <l:l10n language="en">
> <l:context name="xref">
> <l:template name="CHECK THE NAME IN common/en.xml"
> text="PATTERN WHAT SHOULD BE RENDERED"/>
> </l:context>
> </l:l10n>
> </l:i18n>
>
> Hope this helps,
>
> --
> Cheers,
> Tobias
>
>
> ________
> K15t Software UG (haftungsbeschränkt), http://www.k15t.com
> Rosenbergstr. 58, 70176 Stuttgart, GERMANY
> Registration: Stuttgart HRB 729752, VAT ID: t.b.a.
> Geschäftsführer (CEO): Klaus-Dieter Krüger
>
> On Mon, May 18, 2009 at 9:29 AM, Johan Persson
> <> wrote:
> > I've read up a bit on customization of the v5 XSL
> stylesheets but before I
> > start adding a customization layer I was just wondering If
> I might have
> > missed something.
> >
> > What I want is a "LaTeX" style references when I use an xref, i.e
> >
> > ... for more details see "example 3.2"
> >
> > and not what the stylesheets generate by default, i.e.
> >
> > ... for more details see "example 3.2, Some potentially
> very long title"
> >
> > I'm aware of the titleabbrev tag but I would like to avoid
> having another
> > tag.
> > Is there some easier way to remove the generated title
> completely (and just
> > keep the reference type and numbering) other than adding a small
> > customization layer?
> >
> > Johan
>
>
>
> --
> Cheers,
> Tobias
>
>
> ________
> K15t Software UG (haftungsbeschränkt), http://www.k15t.com
> Rosenbergstr. 58, 70176 Stuttgart, GERMANY
> Registration: Stuttgart HRB 729752, VAT ID: t.b.a.
> Geschäftsführer (CEO): Klaus-Dieter Krüger
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>