|
Subject: RE: [xsl] transformation question From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx> Date: Mon, 12 Apr 2004 17:14:23 -0500 |
Hi Vel.,
> Hi all, I have a problem with a transformation. I have an xml file and an
xsl file.
> It works when i try it using 'msxsl.exe' utility. But it is not working
if i do server side transformation, using asp.
First, are you doing those transformations on one single machine?
I ask because you are using a non-version spcific object declaration:
Set xml = Server.CreateObject("MSXML2.DomDocument")
Set xsl = Server.CreateObject("MSXML2.DOMDocument")
Set output = Server.CreateObject("MSXML2.DOMDocument")
So if you do this on different machines the result may differ.
Another doubt I would have if your xml and xslt file are in the virtual root
folder, and if they are the same as the ones you use in the command
execution line.
I could pass you some code I used when doing transformations on MSXML
3.0/4.0, using classic ASP, but mainly what makes the instantiation
version-specific is this kind of declaration:
Set srcDoc = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")
Let us know if that would help you in any way.
Cheers, Pieter
<prs/>
http://www.pietsieg.com
http://www.pietsieg.com/dotnetnuke
Contributor on www.ASPToday.com
Co-author on "Professional ASP.NET XML with C#", July 2002 by Wrox Press
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] transformation question, velmurugan mariappan | Thread | RE: [xsl] transformation question, velmurugan mariappan |
| RE: [xsl] Using output URI resolver, Michael Kay | Date | [xsl] Re: Problems passing paramete, Dimitre Novatchev |
| Month |