[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: Mon, 8 Nov 2004 13:24:13 +0100
gabriel asp
Hello Oleg.
I will try to summarize my problem once again.

-- General: ----------------------------------
First off, all the XML/XSL files can be found at
http://gabbah.no-ip.org/mickel/

The ASP-file: http://gabbah.no-ip.org/test.asp.txt . This asp script gets an XML file from a COM object, and transforms it using http://gabbah.no-ip.org/mickel/XSL/PC/pc-templates.xsl (which in turn includes all XSL files needed).

I'm using (normal) ASP with VBscript, MSXML3 on IIS5. WinXP pro SP2.

-- Specific: ----------------------------------
The problem only appears when I try to access a static XML file residing outside the folder where the function document() is used. It does not matter if the XML file resides in a subfolder or in a sibling folder, as long as it's in another folder it doesn't work.
The XSLs involved are http://gabbah.no-ip.org/mickel/XSL/PC/search.xsl and http://gabbah.no-ip.org/mickel/XSL/PC/shared_variables.xsl , which both use
select="document('../../XML/paths.xml').
So the static XML file I want to access is http://gabbah.no-ip.org/mickel/XML/paths.xml .


The error I get is that it can't find the specified path.

I have also tried using an absolute path (mickel/XML/paths.xml ) and a qualified URL like the one above.
I have tried backward slashes.
I have given all folders below wwwroot read permissions to user "everyone".



Hope I haven't forgotten anything :) /Gabriel


----- Original Message ----- From: "Oleg Tkachenko" <oleg@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, November 08, 2004 12:09 PM
Subject: Re: document()



Gabriel K. wrote:
In my case the client makes a call to an ASP script, which asks a COM object for a specific XML file, and then transforms it with a static XSL file. So the XML file is given through the com object, and the XSL is static.
The XML file that is used in the XSL file via the document function is static as well.

Well, it gets too convolute. Can you show some code (that ASP script) or better a small repro?


--
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel

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.