Hi,
Reading this thread, I understand that my problem is related,
which was
posted as "xpath expression validity?"
How do I handle the failed document() or invalid XPath
expression error?
I am using XSL only with MSXML4, Xercers-J (1.4.4 or others
if recommended)
and XMLSpy v5
If I remember your original question correctly, just write your stylesheet so
that there's a sanity check before the expression that evaluates document(), so
that you never attempt to evaluate the document() function with a non-URI
argument.
Cheers,
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list