Subject: Re: Generating book index via attributes...
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 09 Apr 2010 19:26:41 +0200
|
Dave Carvell wrote:
(Using XMLSpy Enterprise Edition version 2010 rel. 2, xsl 1.0)
<?xml version="1.0" encoding="utf-8"?>
<docroot>
<chapter>
<title>
Brakes
<indxref refs1="Brakes"/>
</title>
<subchapter>
<title>
Drum type Brakes
<indxref refs1="Brakes" refs2="drum"/>
</title>
<para>stuff...
<indxref refs1="Brakes" refs2="drum" refs3="diagram"/>
</para>
...
I need to generate an index. For now, I just need a hierarchical listing.
Can you show a well-formed XML input sample and then show us the
corresponding output you want the stylesheet to create?
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
|