|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML produce multiple "screen"
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








