Its like you read my mind :) ;)
Try this... change the declaration to its fully qualified URI (e.g.
http://www.mydomain.com/myfolder/myxml.xml) and see if this helps (it
should). While the reason behind why this will work (as opposed to just
using the standard notation for accessing directories) if this gets you
to where you need to be then understanding why is of less importance
than the fact that, for now, its solves your problem.
Let me know...
<M:D/>
Gabriel K. wrote:
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
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--