[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML produce multiple "screen"

Subject: Re: XML produce multiple "screen"
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 May 2000 10:14:43 +0100 (BST)
zathur

> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.