This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] xsl: setup xref-label for tables
- From: Bob Stayton <bobs at sco dot com>
- To: Jeff Beal <jeff dot beal at ansys dot com>
- Cc: 'Jens Skripczynski' <skripi-lists at myrealbox dot com>,docbook-apps at lists dot oasis-open dot org
- Date: Tue, 15 Apr 2003 09:09:40 -0700
- Subject: Re: [docbook-apps] xsl: setup xref-label for tables
- References: <E08C8F26F6901D42B1201763D125853801A5CBB6@ntdevexc.win.ansys.com>
And also include the <l:l10n language="xx"> element.
In the sample code, there is no colon in the text attributes.
Did you intend to use colon or period?
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com
On Tue, Apr 15, 2003 at 09:03:31AM -0400, Jeff Beal wrote:
> Did you add <xsl:param name="local.l10n.xml" select="document('')"/> to your
> document also?
>
> > -----Original Message-----
> > From: Jens Skripczynski [mailto:skripi-lists at myrealbox dot com]
> > Sent: Tuesday, April 15, 2003 7:46 AM
> > To: docbook-apps at lists dot oasis-open dot org
> > Subject: [docbook-apps] xsl: setup xref-label for tables
> >
> >
> > Hi,
> >
> > I'm trying to setup a different label for xref's concerning Tables.
> > I want a format linke 'Table 2.1: my Title'.
> >
> > As as far as I have understood the xsl style sheet I have to change
> > the schemes in the common section. So I added to my stylesheets:
> >
> > ---------------------------
> > <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
> > <l:context name="title">
> > <l:template name="table" text="Table %n. %t"/>
> > </l:context>
> >
> > <l:context name="xref">
> > <l:template name="table" text="Table %n. %t"/>
> > </l:context>
> > </l:i18n>
> > ---------------------------
> > The output is almost what I wanted:
> > <a href="#table-base_rr" title="Table 4.2. Base Recovery Rate
> > by landscape">Table 4.2</a>
> >
> > If I could move the attribute between the <a> </a> 's I would
> > be happy.
> >
> > I'm using saxon-6.5.2, xerces-2.3.0.
> >
> >
> > Ciao
> >
> > Jens Skripczynski
> > --
> > E-Mail: skripi-lists(at)myrealbox(dot)com
> >
> > Computers are like airconditioners: They stop working
> > properly if you open windows.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
> > For additional commands, e-mail:
> > docbook-apps-help at lists dot oasis-open dot org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
> For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org
>
>
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org