[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/23/2001 at 03:45AM PDT, ID: 20203587
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

Create a XML Document using an ASP

Asked by Moony in Extensible Markup Language (XML)

Tags: invalid, character, vbscript, xml

I am in trouble trying to create a XML Document using an ASP file

I am trying to get this simple XML file:
"
<?xml version="1.0"?>
<data><![CDATA[i]]></data>
"

Well... I write this code in ASP:

"
<% @language=VBScript%>
<%
Response.ContentType = "text/xml"
%>

<%
     response.write "<?xml version=""1.0""?>" & vbCrLf
     Response.write "<dat>"
     response.write "<![CDATA[i]]>"
     response.write "</dat>"
%>
"

and I get the following error message :

"
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

An invalid character was found in text content. Error processing resource 'http://localhost/file001.asp'. Line 2, Position 15
 

<dat><![CDATA[
"

If I specify the codepage for the page:
"
<% @language=VBScript% @codepage=65001>
<%
Response.ContentType = "text/xml"
%>

<%
     response.write "<?xml version=""1.0""?>" & vbCrLf
     Response.write "<dat>"
     response.write "<![CDATA[i]]>"
     response.write "</dat>"
%>

then I get a different error :
"
 <font face="Arial" size=2>
<p>Active Server Pages</font> <font face="Arial" size=2>error 'ASP 0203'</font>
<p>
<font face="Arial" size=2>Invalid Code Page</font>
<p>
<font face="Arial" size=2>/prueba.asp</font><font face="Arial" size=2>, line 1</font>
<p>
<font face="Arial" size=2>The specified code page attribute is invalid.
</font>
"

The ASP file is running under NT workstation 4.0 (service pack 6a) and the last Option Pack(with PWS). Should I upgrade to Windows 2000 to be able to generate XML from ASP? Or maybe install the IIS 4.0...

Thanks in advanced

[+][-]10/25/01 06:47 AM, ID: 6579095

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/25/01 07:40 AM, ID: 6580227

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/31/01 11:15 AM, ID: 6702844

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/30/02 04:01 AM, ID: 6980086

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/24/02 03:55 PM, ID: 7300301

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/04/03 09:27 AM, ID: 8650042

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Extensible Markup Language (XML)
Tags: invalid, character, vbscript, xml
Sign Up Now!
Solution Provided By: BigRat
Participating Experts: 6
Solution Grade: A
 
 
[+][-]06/09/03 04:38 AM, ID: 8680975

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/21/03 07:51 AM, ID: 8772429

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091028-EE-VQP-85