This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 &#x26; Polar Regions">
           <primaryie>Alaska &amp; Polar Regions</primaryie>
   </indexentry>
</indexdiv>
</index>

The outout after the transform is:

{snip...}

<dt>Alaska &amp; 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 &amp; 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/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]