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

RE: following sibling not working

Subject: RE: following sibling not working
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 30 Jun 2003 00:56:39 +0100
following sibling condition
Probably the following sibling isn't what you think it is. Show us the
source document, and what the context node is at the time.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Paul Tremblay
> Sent: 29 June 2003 18:18
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  following sibling not working
> 
> 
> I'm trying to test for a condition in the following sibling 
> node and having no luck. My template looks like this:
> 
> <xsl:if test = "not(following-sibling::emphasis[1][@role = 
> 'option-argument'])">
>             <block new-lines-after = "1">
>                 <xsl:text>]</xsl:text>
>             </block>
>         </xsl:if>
> 
> The idea is to make sure the following mode does not have an 
> attribute that is an option argument. If the following node 
> in fact does not have such an attribute, but a "]" in the mode. 
> 
> I have also tried:
> 
> 
> <xsl:if test = "not(following-sibling::*[1][@role = 
> 'option-argument'])">
>             <block new-lines-after = "1">
>                 <xsl:text>]</xsl:text>
>             </block>
>         </xsl:if>
> 
> But I couldn't get the results I wanted here, either.
> 
> Thanks
> 
> Paul
> 
> -- 
> 
> ************************
> *Paul Tremblay         *
> *phthenry@xxxxxxxxxxxxx*
> ************************
> 
>  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.