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: Re: [docbook-apps] Customization of a cross-reference to aqandaentry not working for me


Am Montag, den 12.06.2006, 18:14 +0200 schrieb Michèle Garoche:
> Le 12 juin 2006 à 17:17, Daniel Leidert a écrit :
> 
> > Hello,
> >
> > I have some problems trying to customize the generated text of an
> > cross-reference (xref) to a qandaentry. Following
> > http://www.sagehill.net/docbookxsl/CustomXrefs.html I've added this  
> > bit
> > of code to the one of the stylesheets I use:
> >
> > <xsl:param name="local.l10n.xml" select="document('')"/>
> > <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
> >   <l:l10n language="de">
> >     <l:context name="xref">
> >       <l:template name="qandaentry" text="Frage&#160;%n"/>
> >     </l:context>
> >     <l:context name="xref-number">
> >       <l:template name="qandaentry" text="Frage&#160;%n"/>
> >     </l:context>
> >     <l:context name="xref-number-and-title">
> >       <l:template name="qandaentry" text="Frage&#160;%n"/>
> >     </l:context>
> >   </l:l10n>
> > </l:i18n>
> >
> > The stylesheet, which contains this code, is imported by the final
> > custom stylesheet (via xsl:import), which first imports (also via
> > xsl:import) the current docbook-xsl stylesheets v1.70.1. But when I
> > process the document I still get the text created by the qanadanetry
> > template of de.xml of docbook-xsl: 'F:&#160;%n'. What am I doing  
> > wrong?
> Does it work if you put this fragment of code in the final stylesheet?

No, it does not. The "final" stylesheet itself also just imports the
original docbook-xsl HTML stylesheet. So it would have been surprising,
if that worked. I now also tried to give the template names an call them
via xrefstyle, but that also fails. Maybe it's a problem in the
docbook-xsl stylesheets itself.

Regards, Daniel



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