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] xref within index


 

-----Original Message-----
From: Ilana Kingsley [mailto:kingsley@arsc.edu] 
Sent: Monday, May 10, 2004 12:29 PM
To: docbook-apps@lists.oasis-open.org
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 &#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
http://www.people-services.net
http://www.AllAboutSingles.com

To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.





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