Re: [xsl] slicing an XML document

Subject: Re: [xsl] slicing an XML document
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 15 Oct 2002 20:32:07 +0100
oh that's even easier

<xsl:template match="/">
 <xsl:for-each select="//*[count(ancestor::*) = $somenumber]">
    do something eg
  <xsl:value-of select="name()"/>

...

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


Current Thread