|
-
Jun 21st, 2001, 11:01 AM
#1
Thread Starter
Lively Member
Another ASP/XML ?
I was trying to see what happened if an ASP were to write an XML document.
<% @ Language=VBScript%>
<%
str1 = "XML test"
%>
<? xml version="1.0" ?>
<MESSAGE>
<TEST><%=str1%></TEST>
</MESSAGE>
All this does is display XML Test as if it were formatted in HTML. By default, I'm assuming ASP serves up everything as HTML. Is there a way to tell the document to serve up something else? I am being forced to test this on a W98 PWS machine so if it is a MIME type issue, I may be out of luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|