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

RE: Accessing the Next or Previous Node in the Current

Subject: RE: Accessing the Next or Previous Node in the Current node-list
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Wed, 12 Dec 2001 01:13:20 -0000
xsl previous node
<xsl:if test="following-sibling::p">&#x0A;</xsl:if>

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Sasha Haghani
> Sent: 12 December 2001 00:23
> To: XSL List
> Subject:  Accessing the Next or Previous Node in the 
> Current node-list
> 
> 
> How can I access the next or previous node in the current node-list?
> 
> I need to perform special whitespace (e.g.: "output a newline 
> character if the next element in the node-list is a 
> paragraph") handling based on the next element which is going 
> to be processed.
> 
> FYI, I'm using an <xsl:apply-templates/> instruction with a 
> select attribute to specifically select the nodes I'm 
> interested in processing (i.e.: current node-list).
> 
> Any help on this is much appreciated.
> 
> Regards,
> Sasha Haghani.
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 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.