Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML output

Status
Not open for further replies.

krymzon

Programmer
Feb 22, 2005
38
CA
When creating an ASPX page (with its cs counter part), it will render the page and output it as a standard HTML page. My question is, if its possible to output this information inside XML.
The reason for this being, is that I have a AJAX broker function that can recieve several parameters, including ASPX files. This AJAX broker function will return the output back (from the ASPX file assuming I Response.write() in XML tags)to the calling function for parsing, but, the AJAX broker will only work if the returning code is in an XML format.

I know the question is vauge, but any reference links to articles that may help me would be great. Thanks.



--there are 10 types of people in this world. those who know binary, and those who don't.--
 
If you set the ContentType of the page to "text/xml" then anything reading that page will be able to read it as XML - you'll just have to be responsible for outputting the relevant XML. Here's a simple explanation:



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top