Hi Pieter,
I have solved the problem. My transformation output is html+time. I
did some modificaitons after reading HTML output method in
http://www.w3.org/TR/xslt#output . If you can, please send me a sample ASP
with the declaration you mentioned. It would help me to change many of my
xslt stylesheets.
Thanks for your time,
Vel.
From: Pieter Reint Siegers Kort <pieter(_dot_)siegers(_at_)elnorte(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--
_________________________________________________________________
Limited-time offer: Fast, reliable MSN 9 Dial-up Internet access FREE for 2
months!
http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/