This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: node sibling
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 29 Aug 2002 11:40:35 +0300
- Subject: RE: [xsl] node sibling
- Reply-to: xsl-list at lists dot mulberrytech dot com
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