Subject:Using the key function on an imported document Author:Chris Holly Date:11 Apr 2005 10:12 AM
Hi,
I'm importing an XML document to cross-reference in an XSLT, by
using the document( filename ) function, and storing it as a
variable which I can then run queries on.
However, I can't seem to create a key on the file, as when I use:
I get an error saying it is an "Invalid XPath expression".
When I first started working on this I created a lot of the XSLT working on the
XML document and did not treat it as a variable, but I now can't get any of it
work using a variable.