Re: [xsl] Merging data based on attributes

Subject: Re: [xsl] Merging data based on attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 23 Aug 2006 23:27:14 +0100
> How far wrong am I in parsing this?
all right exacept the bit that you said you didn't parse at all, the
third argument of key. By default key() looks up keys in the _current_
document (which is the svg file at that point in the stylesheet, but you
need to look up the value in the other document and that's exactly what
the (new in xslt2) third argument allows you to specify. It takes a node
(normally a document node) and uses the key lookup based on nodes that
are descendents of that node.

David

Current Thread