Search code examples
xmlindexingdocbook

How to generate an index with xmlmind docbook editor?


I am new to xml, but not to latex. I started using xmlmind. I have a simple docbook example where I have only a term test indexed. The pdf or html generated does not include the index. What I am missing?

<?xml version="1.0" encoding="UTF-8"?>
<book version="5.1" xmlns="http://docbook.org/ns/docbook"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xila="http://www.w3.org/2001/XInclude/local-attributes"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:trans="http://docbook.org/ns/transclusion"
  xmlns:svg="http://www.w3.org/2000/svg"
  xmlns:m="http://www.w3.org/1998/Math/MathML"
  xmlns:html="http://www.w3.org/1999/xhtml"
  xmlns:db="http://docbook.org/ns/docbook">
<info>
<title/>
<author>
  <personname><firstname/><surname/></personname>

  <affiliation>
    <orgname/>
  </affiliation>
</author>

<pubdate/>
</info>

<chapter>
<title/>
<section>
  <title/>
  <para>test<indexterm class="singular">
      <primary>test</primary>
    </indexterm></para>
</section>
</chapter>
</book>

Solution

  • Simply add an

    <index/>
    

    after the

    </chapter> 
    

    term.