a developer's notes – a semi-technical web development BLOG

September 5, 2011

Can’t see XML with VBscript’s Response.Write

Filed under: Classic ASP — Duy Nguyen @ 1:16 pm
Tags: , , , ,

You won’t be able to see any text if you do this.

response.write myXml

The XML will not be displayed but it IS rendered on the page. You can do a View Source on the page to see the XML that is rendered.

Try this:

response.write "BEGIN "
response.write myXml
response.write "END"

Then in Internet Explorer, go to your page, and right-click and view Source

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: