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: merging index entries


Hi,
I'm using the eclipse index.xsl code to generate a slightly customized xml format index. That is working fine, but the entries with identical primary terms need to be merged into a single entry.
For example, these two entries should be merged into one:
------------
<entry keyword="cakes">
  <topic href="ch01.html#intro">
  <entry keyword="chocolate">
    <topic href="ch01.html#choc">
  </entry>
</entry>
<entry keyword="cakes">
  <topic href="ch01.html#intro">
  <entry keyword="vanilla">
    <topic href="ch01.html#vnla">
  </entry>
------------
to look like this:
<entry keyword="cakes">
  <topic href="ch01.html#intro">
  <entry keyword="chocolate">
    <topic href="ch01.html#choc">
  </entry>
  <entry keyword="vanilla">
    <topic href="ch01.html#vnla">
  </entry>
</entry>


Can someone point me to some documentation or example code to do this merging?
thanks,
--Tim Arnold





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