RE: [xsl] Getting the current node, in a different document

Subject: RE: [xsl] Getting the current node, in a different document
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 20 Jul 2006 10:52:12 +0100
> If you don't mind using extensions you could use a combination of
> saxon:evaluate() and saxon:path()
> 

Yes, though there could still be complications involving namespaces.

I think I would be inclined to tackle this by doing a depth-first traversal
of both documents in parallel, writing the generate-id() values of
corresponding nodes to a third document, and then using this as a lookup.

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

Current Thread