> Are you sure the target data is being regenerated?
That was the problem. I omitted the target data collection
step during
troubleshooting. Now everything works. Thanks for your
help!
Peter Desjardins
> -----Original Message-----
> From: Bob Stayton [mailto:bobs sagehill.net]
> Sent: Friday, March 09, 2007 12:23
> To: Peter Desjardins; docbook-apps lists.oasis-open.org
> Subject: Re: [docbook-apps] Modifying olink generated
text
>
> Hi Peter,
> Two questions:
>
> Does your change work with xrefs?
> Are you sure the target data is being regenerated?
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs sagehill.net
>
>
> ----- Original Message -----
> From: "Peter Desjardins" <pdesjardins supplyscape.com>
> To: "Bob Stayton" <bobs sagehill.net>;
> <docbook-apps lists.oasis-open.org>
> Sent: Thursday, March 08, 2007 7:08 PM
> Subject: RE: [docbook-apps] Modifying olink generated
text
>
>
> > You need to modify your en.xml to add the
<l:i18n> wrapper
> > element. Any gentext customization needs to
include that in
> > the local.l10n.xml parameter. Then it should
work.
> >
> > Bob Stayton
>
> Thanks, Bob.
>
> I'm still not getting the olink text to reflect the
changes I make in
> en.xml. I had misread your example but adding the
<l:118n>
> wrapper did
> not solve the problem.
>
> After I wrapped the content of en.xml in the
<l:i18n> wrapper with no
> luck, I copied the example directly from
> h
ttp://www.sagehill.net/docbookxsl/CustomXrefs.html into
my
> customization layer. I pasted all three xref contexts
from
> en.xml into
> it. It still does not work.
>
> I pasted the entire customization layer at the bottom
of this message.
>
> Thanks for your help. Any ideas regarding what might
be
> happening will
> be much appreciated.
>
> Peter Desjardins
>
>
> ************ Begin Customization Layer ***************
>
> <?xml version='1.0'?>
> <xsl:stylesheet xmlns sl=&q
uot;http://www
.w3.org/1999/XSL/Transform"
> version='1.0'>
>
> <xsl:import
> href="http://server.name.com/techpubs/xslt/docbook-xsl/html/ch
unk.xsl"/>
>
> <xsl:param name="local.l10n.xml"
select="document('')"/>
> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
a>
> <l:l10n language="en">
> <l:context name="xref">
> <l:template name="abstract"
text="%t"/>
> <l:template name="answer"
text="A: %n"/>
> <l:template name="appendix"
text="%t"/>
> <l:template name="article"
text="%t"/>
> <l:template name="authorblurb"
text="%t"/>
> <l:template name="bibliodiv"
text="%t"/>
> <l:template name="bibliography"
text="%t"/>
> <l:template name="bibliomset"
text="%t"/>
> <l:template name="biblioset"
text="%t"/>
> <l:template name="blockquote"
text="%t"/>
> <l:template name="book"
text="%t"/>
> <l:template name="calloutlist"
text="%t"/>
> <l:template name="caution"
text="%t"/>
> <l:template name="chapter"
text="%t"/>
> <l:template name="colophon"
text="%t"/>
> <l:template name="constraintdef"
text="%t"/>
> <l:template name="dedication"
text="%t"/>
> <l:template name="equation"
text="%t"/>
> <l:template name="example"
text="%t"/>
> <l:template name="figure"
text="%t"/>
> <l:template name="foil"
text="%t"/>
> <l:template name="foilgroup"
text="%t"/>
> <l:template name="formalpara"
text="%t"/>
> <l:template name="glossary"
text="%t"/>
> <l:template name="glossdiv"
text="%t"/>
> <l:template name="important"
text="%t"/>
> <l:template name="index"
text="%t"/>
> <l:template name="indexdiv"
text="%t"/>
> <l:template name="itemizedlist"
text="%t"/>
> <l:template name="legalnotice"
text="%t"/>
> <l:template name="listitem"
text="%n"/>
> <l:template name="lot"
text="%t"/>
> <l:template name="msg"
text="%t"/>
> <l:template name="msgexplan"
text="%t"/>
> <l:template name="msgmain"
text="%t"/>
> <l:template name="msgrel"
text="%t"/>
> <l:template name="msgset"
text="%t"/>
> <l:template name="msgsub"
text="%t"/>
> <l:template name="note"
text="%t"/>
> <l:template name="orderedlist"
text="%t"/>
> <l:template name="part"
text="%t"/>
> <l:template name="partintro"
text="%t"/>
> <l:template name="preface"
text="%t"/>
> <l:template name="procedure"
text="%t"/>
> <l:template name="productionset"
text="%t"/>
> <l:template name="qandadiv"
text="%t"/>
> <l:template name="qandaentry"
text="Q: %n"/>
> <l:template name="qandaset"
text="%t"/>
> <l:template name="question"
text="Q: %n"/>
> <l:template name="reference"
text="%t"/>
> <l:template name="refsynopsisdiv"
text="%t"/>
> <l:template name="segmentedlist"
text="%t"/>
> <l:template name="set"
text="%t"/>
> <l:template name="setindex"
text="%t"/>
> <l:template name="sidebar"
text="%t"/>
> <l:template name="table"
text="%t"/>
> <l:template name="task"
text="%t"/>
> <l:template name="tip"
text="%t"/>
> <l:template name="toc"
text="%t"/>
> <l:template name="variablelist"
text="%t"/>
> <l:template name="varlistentry"
text="%n"/>
> <l:template name="warning"
text="%t"/>
> <l:template
name="olink.document.citation" text=" in
%o"/>
> <l:template
name="olink.page.citation" text=" (page
%p)"/>
> <l:template name="page.citation"
text=" [%p]"/>
> <l:template name="page"
text="(page %p)"/>
> <l:template name="docname"
text=" in %o"/>
> <l:template name="docnamelong"
text=" in the document
> titled %o"/>
> <l:template name="pageabbrev"
text="(p. %p)"/>
> <l:template name="Page"
text="Page %p"/>
> <l:template name="bridgehead"
text="the FOO called
> “%t”"/>
> <l:template name="refsection"
text="the FOO called
> “%t”"/>
> <l:template name="refsect1"
text="the FOO called
> “%t”"/>
> <l:template name="refsect2"
text="the FOO called
> “%t”"/>
> <l:template name="refsect3"
text="the FOO called
> “%t”"/>
> <l:template name="sect1"
text="the FOO called
> “%t”"/>
> <l:template name="sect2"
text="the FOO called
> “%t”"/>
> <l:template name="sect3"
text="the FOO called
> “%t”"/>
> <l:template name="sect4"
text="the FOO called
> “%t”"/>
> <l:template name="sect5"
text="the FOO called
> “%t”"/>
> <l:template name="section"
text="the FOO called
> “%t”"/>
> <l:template name="simplesect"
text="the FOO called
> “%t”"/>
> </l:context>
>
> <l:context name="xref-number">
> <l:template name="answer"
text="A: %n"/>
> <l:template name="appendix"
text="Appendix %n"/>
> <l:template name="bridgehead"
text="Section %n"/>
> <l:template name="chapter"
text="Chapter %n"/>
> <l:template name="equation"
text="Equation %n"/>
> <l:template name="example"
text="Example %n"/>
> <l:template name="figure"
text="Figure %n"/>
> <l:template name="part"
text="Part %n"/>
> <l:template name="procedure"
text="Procedure %n"/>
> <l:template name="productionset"
text="Production %n"/>
> <l:template name="qandadiv"
text="Q & A %n"/>
> <l:template name="qandaentry"
text="Q: %n"/>
> <l:template name="question"
text="Q: %n"/>
> <l:template name="sect1"
text="Section %n"/>
> <l:template name="sect2"
text="Section %n"/>
> <l:template name="sect3"
text="Section %n"/>
> <l:template name="sect4"
text="Section %n"/>
> <l:template name="sect5"
text="Section %n"/>
> <l:template name="section"
text="Section %n"/>
> <l:template name="table"
text="Table %n"/>
> </l:context>
>
> <l:context
name="xref-number-and-title">
> <l:template name="appendix"
text="Appendix %n, %t"/>
> <l:template name="bridgehead"
text="Section %n,
> “%t”"/>
> <l:template name="chapter"
text="Chapter %n, %t"/>
> <l:template name="equation"
text="Equation %n,
> “%t”"/>
> <l:template name="example"
text="Example %n,
> “%t”"/>
> <l:template name="figure"
text="Figure %n,
> “%t”"/>
> <l:template name="part"
text="Part %n,
“%t”"/>
> <l:template name="procedure"
text="Procedure %n,
> “%t”"/>
> <l:template name="productionset"
text="Production %n,
> “%t”"/>
> <l:template name="qandadiv"
text="Q & A %n,
> “%t”"/>
> <l:template name="refsect1"
text="the FOO called
> “%t”"/>
> <l:template name="refsect2"
text="the FOO called
> “%t”"/>
> <l:template name="refsect3"
text="the FOO called
> “%t”"/>
> <l:template name="refsection"
text="the FOO called
> “%t”"/>
> <l:template name="sect1"
text="Section %n,
> “%t”"/>
> <l:template name="sect2"
text="Section %n,
> “%t”"/>
> <l:template name="sect3"
text="Section %n,
> “%t”"/>
> <l:template name="sect4"
text="Section %n,
> “%t”"/>
> <l:template name="sect5"
text="Section %n,
> “%t”"/>
> <l:template name="section"
text="Section %n,
> “%t”"/>
> <l:template name="simplesect"
text="the FOO called
> “%t”"/>
> <l:template name="table"
text="Table %n,
> “%t”"/>
> </l:context>
> </l:l10n>
> </l:i18n>
>
>
> </xsl:stylesheet>
>
> ************* End Customization Layer
******************
>
>
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
|