Subject: Re: XML produce multiple "screen" From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 10 May 2000 10:14:43 +0100 (BST) |
> Is it possible with XSL to say do xsl:apply-templates > until you find an element called pb? If you find this > element get back to a point of a template. You have the wrong process model in mind. Don't do-until-go-back. Instead, select the nodes you want to put in the div, then select the next set of nodes. <xsl:template match="xxx"> <div style="font-size:72pt"> <xsl:apply-templates select="*[not(preceding-sibling::pb or self::pb)]"/> </div> <xsl:apply-templates select="*[preceding-sibling::pb or self::pb]"/> </xsl:template> David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
XML produce multiple "screen", Sydney | Thread | XSL from a Dynamic Servlet, zathur on server |
Re: XSL Problem for expert, David Carlisle | Date | XSL from a Dynamic Servlet, zathur on server |
Month |