Subject: Re: [xsl] trying for: a template that calls apply-templates on its children only until some condition is reached From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 15 Jun 2005 22:30:28 +0100 |
for a given template, i only want it to keep rendering it's children until it's counted a certain number of occurrences of a particlar element (in this case br elements), and then stop applying templates altogether. <xsl:apply-templates select="br[position()<10]/preceding-sibling::node()"/> David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] trying for: a template that c, Nick Mealy | Thread | [xsl] XSL transformations on hundre, Ragulf Pickaxe |
[xsl] trying for: a template that c, Nick Mealy | Date | Re: [xsl] Inconsistent values from , David Carlisle |
Month |