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: 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


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