document function and "no protocol " error 2003-01-25 - By klmccarthy@(protected)
I am guessing this is a setup error, but I am completely baffled and don't know what to try next.
I have two XML files main.xml and second.xml, and one stylesheet test.xsl. All three of these are in the same directory. test.xsl is processing main.xml. test.xsl uses the document function to read in second.xml. The line looks like this:
<xsl:value-of select="document('second.xml')"/>
This does not work. The error message is:
Can not load requested doc: no protocol:
I have been unable to find any information on this in the doc, the faq, or the mailing list archives. I a using software versions: jdk1.3.1 xerces 2.2.1 xalan 2.4.1 (I've verified this one with -v)
(with xalan 2.2.d14 I get java.lang.reflect.InvocationTargetException)
Any suggestions? Thanks, Kevin McCarthy
|
|