This looks like a bug. Are all entries lost, or just those with zone attributes?

It would be good if you could file a bug report on the DocBook SourceForge site so that it can be tracked and fixed.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]


----- Original Message ----- From: "M.Canales.es" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 26, 2007 2:10 PM
Subject: [docbook-apps] Bad index generation.


Hi,

Using DocBook XSL Stylesheets Vsnapshot_6761.

Playing with the index generation code I found something that looks a bug.

Having an index tag like this:

<index type="package"/>

and indexterm entries like this

 <indexterm zone="ch-system-bash" type="package">
   <primary>Bash</primary>
 </indexterm>

 <indexterm zone="ch-tools-bash" type="package">
   <primary>Bash</primary>
   <secondary>tools</secondary>
 </indexterm>

when rendering the book using

$ xsltproc --xinclude --nonet -stringparam generate.index 1
snapshot/xhtml/docbook.xsl index.xml > book.html

the Index is generated properly, but when using

$ xsltproc --xinclude --nonet -stringparam generate.index 1
-stringparam index.on.type 1 snapshot/xhtml/docbook.xsl index.xml > book.html

the links on the Index entries are lost. The HTML generated looks like this:


       <div class="index">
         <div class="indexdiv">
           <h3>
             B
           </h3>
           <dl>
             <dt>
               Bash, <a class="indexterm" href="#"></a>
             </dt>
             <dd>
               <dl>
                 <dt>
                   tools, <a class="indexterm" href="#"></a>
                 </dt>
               </dl>
             </dd>
           </dl>
         </div>
       </div>
     </div>



--
Manuel Canales Esparcia
Usuario de LFS nÂș2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to