[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: document()

Subject: Re: document()
From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Sun, 7 Nov 2004 16:21:08 +0100
Re:  document()
Perhaps I should add I use MSXML3 on IIS 5, windows XP Pro.

/Gabriel

----- Original Message ----- From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, November 07, 2004 3:59 PM
Subject: Re: 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.