xsl-list
[Top] [All Lists]

Re: A syntaxic problem this time

2004-07-02 15:37:17
Pierre wrote:

Please i'm trying to do that :

I think you are attacking your problem more complicated than necessary. <for-each> is much more seldom required than beginners think, since we normally come from a procedureal programming environment.

I think you should restructure your problem into a set of <xsl:template>s instead, and let the XSL processor worry about the looping and any recursion.

Unfortunately I can't read out what your output is intended to become, but it feels wrong to loop through it.

Niclas


<Prev in Thread] Current Thread [Next in Thread>