ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] filtering on following-sibling axis
by David Carlisle other posts by this author
Nov 20 2001 10:23AM messages near this date
RE: [xsl] filtering on following-sibling axis | [xsl] A Functional Tokenizer (Was: Re: Looping over a CSV in XSL)
<xsl:template match="section[@type='subsection']"> 
 <xsl:variable name="x"
 select="count(following-sibling::section[@type='subsection'])"/> 
 <xsl:apply-templates select=following-sibling::section[
       count(following-sibling::section[@type='subsection'])=$x
          ]"/> 
</xsl:template> 

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
Thread:
Don Smith
Jeni Tennison
Don Smith
David Carlisle

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved