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

Re: following-sibling usage

Subject: Re: following-sibling usage
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 21 Feb 2003 14:14:15 GMT
Re:  following-sibling usage
  current : <xsl:value-of select="SOUSTHEME" />
  following : <xsl:value-of select="following-sibling::SOUSTHEME[1]" />


as that first line returned Biographie it means that your current node
is the FICHE node.

So it is unlikely that there are any SOUSTHEME nodes that are siblings
of the current node. Your example only showed one SOUSTHEME so I'm
not sure where you want to find the next node.

If you want to find the second SOUSTHEME child of the current FICHE
then that would be select="SOUSTHEME[2]"

but I suspect that you want to find the SOUSTHEME child of a sibling
FICHE
which would be
select="following-sibling::FICHE[1]/SOUSTHEME"


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • following-sibling usage
    • s-oualid - Fri, 21 Feb 2003 08:45:00 -0500 (EST)
      • David Carlisle - Fri, 21 Feb 2003 09:12:31 -0500 (EST) <=
      • Michael Kay - Fri, 21 Feb 2003 10:00:17 -0500 (EST)
      • <Possible follow-ups>
      • s-oualid - Fri, 21 Feb 2003 10:58:30 -0500 (EST)
      • cknell - Fri, 21 Feb 2003 12:16:49 -0500 (EST)

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.