RE: [xsl] Generating HTML <link> navigation

Subject: RE: [xsl] Generating HTML <link> navigation
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 22 Oct 2004 15:46:37 +0100
> What would be the correct way to retrieve the neighbouring 
> element values 
> realtive to one specific element?
> 
exsl:node-set($list)/li[@id=$id]/following-sibling::li[1]/@href

You've got to go to the selected element first, then to its sibling.

Michael Kay
http://www.saxonica.com/

Current Thread