I am generating XML document using ASP.NET (VB.nET) but problem is that
first line in asp.net page is:

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="result.aspx.vb"
Inherits="VocalMapPoint.result"%>

and i get syntax error because of that, now i know i need to do prerender
and insert: <?xml version="1.0" ?> in first line, but i am not sure how to
do that? can you please post a sample code to do that?

following is my code:

<%@Page Language="vb" AutoEventWireup="false" Codebehind="result.aspx.vb"
Inherits="vocal.result"%>
<vxml version="2.0">
 <form id="result">
  <block>
   <audio>
      City is <% =Request("selection") %>
   </audio>
  </block>
 </form>
</vxml>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to