Re: [xsl] XSL/XPath 2.0 - most efficient way to find route to target element

Subject: Re: [xsl] XSL/XPath 2.0 - most efficient way to find route to target element
From: Liam Quin <liam@xxxxxx>
Date: Sat, 26 Apr 2008 19:33:01 -0400
On Sat, Apr 26, 2008 at 11:27:07AM -0400, Robert Koberg wrote:
> In the xml structure below, imagine:
> - all nodes have name (not necessarily unique) and id (???unique)
> attributes

Then the shortest path for an HTML link is probably
concat('#', @id)

Liam


-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/

Current Thread