Re: [xsl] Generate implicit wrapper element -- details

Subject: Re: [xsl] Generate implicit wrapper element -- details
From: Ferdinand Soethe <xsl-list@xxxxxxxxxx>
Date: Thu, 1 Sep 2005 09:10:58 +0200
> <xsl:apply-templates select="following-sibling::*[1][self::li]"
>                        mode="in-list"/>

And this one will select the next li-element after the current one if
it immediately follows the current li. Calling this template from the
first one that Michael has explained will start the processing of the
first li of a list.

Calling it again from within this template will create the recursion
that processes all immediately following li-elements.

--
Ferdinand Soethe

Current Thread