RE: [xsl] document()

Subject: RE: [xsl] document()
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Sat, 13 Nov 2004 15:24:29 -0600
Sorry, I didn't read the whole thread.

If you want to use MSXML 4.0, just install MSXML 4.0, and replace in your
code:

set domXML = Server.createObject("MSXML2.DOMDocument.3.0")
...
set domXSL = Server.createObject("MSXML2.DOMDocument.3.0")

with

set domXML = Server.createObject("MSXML2.DOMDocument.4.0")
...
set domXSL = Server.createObject("MSXML2.DOMDocument.4.0")

There's no need to uninstall 3.0.

HTH,
<prs/>

-----Original Message-----
From: Gabriel K. [mailto:gabriel.klappenbach@xxxxxxxxxxxx] 
Sent: Friday, November 12, 2004 8:49 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] document()

Hi Pieter.
I did post links to relevant code, even the asp script.
Here is the asp script again:
http://gabbah.no-ip.org/test.asp.txt

/Gabriel



----- Original Message -----
From: "Pieter Reint Siegers Kort" <pieter.siegers@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, November 12, 2004 11:40 PM
Subject: RE: [xsl] document()


> Hi Gabriel,
>
> MSXML 3.0 should come up as an uninstallable program. But why not use
> version-specific class names in your ASP? Could you please post some code,
> as was mentioned?
>
> Cheers,
> <prs/
>
> -----Original Message-----
> From: Gabriel K. [mailto:gabriel.klappenbach@xxxxxxxxxxxx]
> Sent: Friday, November 12, 2004 10:52 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] document()
>
> Hmm.. but how do you uninstall MSXML3? It doesn't show up as an installed
> program like MSXML4 does...?
>
>
> /Gabriel
>
>
> ----- Original Message ----- 
> From: "Geert Josten" <Geert.Josten@xxxxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, November 12, 2004 3:40 PM
> Subject: Re: [xsl] document()
>
>
>> Make sure to _un_install MSXML 3 first and then install MSXML 4. And you
>> are using IIS, that must be restarted to notice the change. Best to 
>> reboot
>
>> the system...
>>
>> Good luck..
>>
>> Grtz,
>> Geert
>>
>>> Hello folks. Sorry for being away a while.
>>> I have now tried the suggestions I got from you guys:
>>> 1) Install MSXML 4, perhaps there is a known bug in MSXML 3 that is 
>>> fixed
>
>>> in later versions.
>>> 2) Try a local path (C:\path\XML\paths.xml)
>>> 3) Specifying the second argument of Document()
>>>
>>> Here are the answers to those suggestions:
>>> 1) Installed MSXML4, and that didn't help. Same behaviour.
>>> 2) Local/physical path worked fine.
>>> 3) Tried second argument with no success.
>>>
>>>
>>> BUT, all of the sudden, the relative path started working! I know my
>>> develop environment is not completely stable, so this may be the reason.
>>> So I tried restarting the environment several times and tried an 
>>> absoulte
>
>>> path (/mickel/XML.. and http://gabbah....) and relative paths.. but
>>> still, only relative paths work.
>>> But this is good enough for me, at least for the moment.
>>>
>>> /Gabriel
>>>
>>> ----- Original Message ----- From: "Gabriel K."
>>> <gabriel.klappenbach@xxxxxxxxxxxx>
>>> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>>> Sent: Monday, November 08, 2004 1:24 PM
>>> 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
>>>
>>>
>>>
>>
>> -- 
>> Geert.Josten@xxxxxxxxxxx
>> IT-consultant at Daidalos BV, Zoetermeer (NL)
>>
>> http://www.daidalos.nl/
>> tel:+31-(0)79-3316961
>> fax:+31-(0)79-3316464
>>
>> GPG: 1024D/12DEBB50

Current Thread