Output XML Document

When write a XML document, some properties of “Response” object need to be set in advance:

response.ContentType = “text/xml”
response.CodePage = “65001”
response.CharSet = “UTF-8”
response.write “<?xml version=’1.0′ encoding=’utf-8′ standalone=’yes’ ?>”
response.write “<root>”
response.write “</root>”

2 thoughts on “Output XML Document

  1. Howdy! This is kind of off topic but I need some guidance
    from an established blog. Is it very hard to set up your own blog?
    I’m not very techincal but I can figure things out pretty fast. I’m thinking about
    setting up my own but I’m not sure where to begin. Do you have any points or suggestions? With thanks

Comments are closed.