Subject: Re: [xsl] following-sibling help please. From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 10 Oct 2006 17:31:40 +0100 |
the direct answer to your question is test="following-sibling::*[1][self::header]" which is true just if the immediately following sibling is header, but it sounds lie wha you really want is to group the child elements of root, with each group starting with a header, so that's <xsl:for-each-group select="*" group-starting-with="header"> ... something ... David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] following-sibling help pl, Mukul Gandhi | Thread | RE: [xsl] following-sibling help pl, Danny Leblanc |
Re: [xsl] following-sibling help pl, Mukul Gandhi | Date | RE: [xsl] following-sibling help pl, Danny Leblanc |
Month |