xsl-list
[Top] [All Lists]

Re: Generate implicit wrapper element -- details

2005-09-01 00:10:58

<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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • Re: Generate implicit wrapper element -- details, Ferdinand Soethe <=