[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: transformation question

Subject: RE: transformation question
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Mon, 12 Apr 2004 17:14:23 -0500
createobject msxml2.domdocument
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.