RE: [xsl] TOC Problem

Subject: RE: [xsl] TOC Problem
From: "Frank Lorenz" <f.lo@xxxxxx>
Date: Thu, 3 Mar 2005 15:31:29 +0100 (MET)
> http://www.dpawson.co.uk/xsl/sect2/N7402.html  may help.
> regards DaveP

The demanded TOC behaves different than the conventional TOC problem.

Here the demanded TOC again:

Table Of Content
Joe.........1, 3, 7
Bob............2, 5

(The underlying XML data is written in my starting post)

Therefore i have to iterate via XSLT over all <speaker> nodes to collect all
the several speeches per speaker.
So far so good, that is not the problem!

THE PROBLEM:
Ok, i am able to fetch all the beginnings of the speeches per speaker. But
if i access a further speech of a speaker
, further means all speeches after the first one, the TOC is falsly extended
in this way:

Table Of Content
Joe.........1, 3, 7
Bob............2, 5
Joe........... 3, 7  <- false
Bob...............5  <- false
Joe...............7  <- false

So i have to memorize all the speakers i have already treated to treat them
not again. But i do not know how to memorize!?








-- 
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail

Current Thread