This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: node sibling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]