xsl-list
[Top] [All Lists]

Re: document()

2004-11-07 08:21:08
Perhaps I should add I use MSXML3 on IIS 5, windows XP Pro.

/Gabriel

----- Original Message ----- From: "Gabriel K." <gabriel(_dot_)klappenbach(_at_)bredband(_dot_)net>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Sunday, November 07, 2004 3:59 PM
Subject: Re: [xsl] document()


Hi again.
I wrote wrong before, I DID use single quotes like this:
document('/mickel/XML/xml_file.xml')

Anyway, I have experimented a bit, and neither absolute or relative paths like document('../../XML/xml_file.xml') work!

I seems to only be able to access XML files that reside in THE SAME FOLDER as the XSL file where I call document.

I have even tried putting the XML file in a sub folder instead, and trying document('XML/xml_file.xml') So the XSL file resides in mickel/XSL/PC and the XML file in mickel/XSL/PC/XML.

And yes, the "mickel" folder is in the web root folder.

I can't understand why I can't access any XML file that is outside of the folder where document is called! Do you have any idea what could be wrong? The error I get is "The object can't be found". Everything works fine if the XML file resides in the same folder as the XSL file.

/Gabriel




<Prev in Thread] Current Thread [Next in Thread>