Problem with XML rendering

This is a discussion on "Problem with XML rendering" within the Classic ASP section. This forum, and the thread "Problem with XML rendering are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 8th, 2005, 15:35
New Member
Join Date: Aug 2005
Location: Pennsylvania, USA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Problem with XML rendering

Here's a piece of code I am working on. It's part of a sub that renders an XHTML document from XML. When I run the script that calls this sub, nothing happens--the script loads, but nothing is displayed. However, I get no errors. Anyone have any tips?

Code: Select all
Dim xmldoc, stylesheet
Set xmldoc = CreateObject("MSXML2.DOMDocument.4.0")
Set stylesheet = CreateObject("MSXML2.DOMDocument.4.0")
xmldoc.Async = False
xmldoc.Load(atombody)
stylesheet.Async = False
stylesheet.Load(Server.MapPath("/Global/xml/stylehtml.xsl"))
'RENDER XML DOCUMENT:
Response.Write xmldoc.TransformNode(stylesheet)
Set xmldoc = Nothing
Set stylesheet = Nothing
(By the way, "atombody" is a string containing a properly-formatted XML document--it has been validated and contains no errors.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 9th, 2005, 10:54
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
If you view the source of the page do you see anything?

Is Server.MapPath() allowed to start with a forward slash?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
problem, xml, rendering

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS/ASP.net rendering problem in Opera 9.5 vneal Web Page Design 0 Jun 13th, 2008 10:35
something like rendering animation w0wsabaw Flash & Multimedia Forum 2 Jul 13th, 2007 00:45
FF-IE rendering problem jomtones Web Page Design 2 Jul 5th, 2007 06:55
Menu not rendering correctly in I.E maxz Starting Out 10 Jun 11th, 2007 17:32
font rendering masonbarge Graphics and 3D 1 May 16th, 2006 15:12


All times are GMT. The time now is 07:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42