[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: node sibling
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 29 Aug 2002 11:40:35 +0300
Hi,

> Hi all,
> How can I get the value of a node sibling?
> Thx

  <xsl:value-of select="preceding-sibling::node()[1]" />

or

  <xsl:value-of select="following-sibling::node()[1]" />

It would be easier if you read the XPath spec,

Jarno

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


Current Thread
  • node sibling
    • Alia Mikati - Thu, 29 Aug 2002 04:34:33 -0400 (EDT)
      • <Possible follow-ups>
      • Jarno . Elovirta - Thu, 29 Aug 2002 04:39:24 -0400 (EDT) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member