Clark Karr wrote:
> I insert an xref element referencing a table with an xreflabel 
> attribute.  The xml generated is:
> 
>       <para>See <xref linkend="mytable" /> </para>
> 
> The xml for the table starts as:
> 
>       <table border="" id="mytable" xreflabel="My Table">
> 
>       <title>My Table</title>
> 
> The pdf generated is:
>      "See My Table"
>  
> I expect the table number and title; something like:
>      "See Table 1 My Table"
>  
> The xref example in "DocBook: The Definitive Guide" (2003) shows:
> 
> <listitem><para>A straight link generates the
> cross-reference text: <xref linkend="ch02"/>.
> </para></listitem>
> 
> <chapter id="ch02">
>   <title>The Second Chapter</title>
>   <para>Some content here</para>
> </chapter>
> 
>  
> 
> generates:
> 
> "A straight link generates the cross-reference text: Chapter 2, ?The Second 
> Chapter?."
> 
>  
> 
> How can I turn on printing xrefs with chapter/table/figure numbers + title?
> 

I don't know. May be by setting parameter "xref.with.number.and.title" 
to 1. See 
http://docbook.sourceforge.net/release/xsl/current/doc/fo/xref.with.number.and.title.html

See also "DocBook XSL: The Complete Guide by Bob Stayton" 
http://www.sagehill.net/docbookxsl/

You may try to do this within XMLmind XML Editor Professional Edition by 
using "Options|Customize Configuration|Change Document Conversion 
Parameters"
See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.ConversionParametersEditor.html

Reply via email to