Subject: RE: [xsl] transformation question From: "velmurugan mariappan" <vel_gun@xxxxxxxxxxx> Date: Wed, 14 Apr 2004 04:14:39 -0500 |
Thanks for your time, Vel.
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] transformation question 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 -> |
---|---|---|
RE: [xsl] transformation question, Pieter Reint Siegers | Thread | RE: [xsl] transformation question, Pieter Reint Siegers |
RE: [xsl] selecting elements only i, Jarno.Elovirta | Date | [xsl] RE: Why doesn't exclude-resul, Robert Stukey |
Month |