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

Potential problem with ASP method TransformNode ( This is an XML ? )

  • To: xml-dev@l...
  • Subject: Potential problem with ASP method TransformNode ( This is an XML ? )
  • From: tariq abdur-rahim <ecliptoid330@y...>
  • Date: Sat, 30 Mar 2002 18:07:27 -0800 (PST)

asp transformnode
Hey all:

Do any of you XML gurus out there know whether the ASP
"TransformNode" method works with MSXML2 as well as in

I'm having the following problem on my Web site
(Windows-hosted) but not on my PC in local mode, where
it works quite well (in IIS under Windows 2000 Pro): 

On the Web site, the following ASP script manages to
call up my XSL stylesheet but seems not to apply it to
the XML document (only the HTML part of the stylesheet
is output to the screen, none of the XML entities are
getting processed). However, when I call the same XML
document directly in the browser, the stylesheet is
correctly applied. It is just not applied when I call
it via the ASP script below. (Again, in localhost on
my PC operating IIS Windows 2000 Pro the processing
gets done just fine.) 

Any brilliant ideas as to why the stylesheet
"guestbook.xls" is not getting applied to the XML
document "guestbook.xml"?

Source Code Follows:


Dim oSource, oStyle

'Create the XML DOM object for the XML file
Set oSource = Server.CreateObject("Microsoft.XMLDOM")
oSource.async = False

'Load the XML file into the DOM object
oSource.load server.mappath("/") &

'Create the XML DOM object for the XSL stylesheet
Set oStyle=Server.CreateObject("Microsoft.XMLDOM")
oStyle.async = False

'Load the XSL file into the Style DOM object
oStyle.Load Server.mappath("/") &

'Write the document to the browser
Response.Write oSource.TransformNode(oStyle)		



Thanks in advance,

Web Developer

Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover


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.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.