RE: [xsl] node sibling

Subject: RE: [xsl] 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