This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] xref within index
- From: Ilana Kingsley <kingsley at arsc dot edu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 10 May 2004 11:29:09 -0800
- Subject: [docbook-apps] xref within index
Hi All,
I'm trying to use xref within an index so that the xref points to another
entry within the index. The problem is the anchor tag never gets created
in the xhtml. I'm using docbook-xsl-1.65.1.
Here's example code:
<index>
<title>Index Title</title>
<indexdiv><title>A</title>
<indexentry><primaryie>APR</primaryie>
<seeie><emphasis role="italic">See</emphasis>
<xref linkend="a1001"/></seeie>
</indexentry>
<indexentry id="a1001" xreflabel="Alaska & Polar Regions">
<primaryie>Alaska & Polar Regions</primaryie>
</indexentry>
</indexdiv>
</index>
The outout after the transform is:
{snip...}
<dt>Alaska & Polar Regions</dt> /* notice the id isn't output
<dt>APR</dt>
<dd><dl><dt><span class="italic">See</span> <a
href="ix01.html#a1001">Alaska & Polar Regions</a></dt></dl></dd>
<dt>
So, do I need to customize my xsl files? If so, should it be index.xsl or
xref.xsl?
TIA,
Ilana Kingsley, Web Librarian
University of Alaska Fairbanks, Elmer E. Rasmuson Library
310 Tanana Drive,Room 449, Fairbanks, Alaska 997755
Tel: 907-474-7518
kingsley@arsc.edu || ffimk@uaf.edu
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.