]> granicus.if.org Git - docbook-dsssl/commitdiff
fixing to reproduce the double seealso bug, reference the generated index (which...
authorAdam Di Carlo <adicarlo@users.sourceforge.net>
Sun, 19 Jan 2003 21:14:21 +0000 (21:14 +0000)
committerAdam Di Carlo <adicarlo@users.sourceforge.net>
Sun, 19 Jan 2003 21:14:21 +0000 (21:14 +0000)
testdocs/tests/indexterm.004.xml

index b377ec75ca8a5e6586e1b52a779bcb3ebc47f8d7..d3fab2da4854b6261ab19bb7ed66e56825f21883 100644 (file)
@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-                  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+                  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!ENTITY index    SYSTEM '../indexterm.004.index.xml'>
+]>
 <article id="indexterm.004">
 <articleinfo>
 <title>Unit Test: indexterm.004</title>
@@ -9,9 +11,8 @@
         <affiliation><address><email>adam@onshored.com</email></address></affiliation>
 </author>
 </articleinfo>
-  <section>
+  <section id="sec1">
     <title>First Section</title>
-
     <para>
       This is first test paragraph.
       <indexterm>
         <primary>baz</primary>
       </indexterm>
     </para>
+  </section>
 
+  <section id="sec2">
+    <title>Second Section</title>
     <para>
       This is second test paragraph.  We're testing identical
       <sgmltag>indexterm</sgmltag>s with two different
@@ -36,8 +40,7 @@
         <seealso>baz</seealso>
       </indexterm>
     </para>
-
   </section>
 
-  <index/>
+  &index;
 </article>