Subject: RE: [xsl] document() From: "Kevin Collins" <kevin.collins@xxxxxxx> Date: Mon, 8 Nov 2004 10:57:24 -0500 |
Gabriel, Did you try hardcoding the physical path? Such as: document('c:/path_to_your_web_root/mickel/XML/paths.xml') The problem may be this one, fixed in msxml 4 sp 1: XSLT: Context Is Lost When Multiple Documents Are Loaded by Using the Document() Function http://support.microsoft.com/kb/318890/EN-US#4 Kevin Collins > -----Original Message----- > From: Gabriel K. [mailto:gabriel.klappenbach@xxxxxxxxxxxx] > Sent: Monday, November 08, 2004 7:24 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] document() > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] document(), Wendell Piez | Thread | RE: [xsl] document(), Pieter Reint Siegers |
Re: [xsl] Grouping by key, gopinath . emmidiset | Date | [xsl] Count words and add line-brak, Jacobus van Niekerk |
Month |