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] xsl: setup xref-label for tables


Did you add <xsl:param name="local.l10n.xml" select="document('')"/> to your
document also?

> -----Original Message-----
> From: Jens Skripczynski [mailto:skripi-lists@myrealbox.com]
> Sent: Tuesday, April 15, 2003 7:46 AM
> To: docbook-apps@lists.oasis-open.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&#160;%n.&#160;%t"/>
>    </l:context>
> 
>    <l:context name="xref">
>       <l:template name="table" text="Table&#160;%n.&#160;%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@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org
> 
> 
> 


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