The other day, "sibling recursion" was mentioned on this list.
Does the following qualify as sibling recursion - and is this
likely to be more efficient for large input?
<xsl:apply-templates mode="toc"
select="(following-sibling::h1 |
following-sibling::h2)[ 1 ]"/>