I'm new to ASP .NET and Visual Basic .NET.

I'm sure this has been asked but a quick search didn't bring anything up for me that helped. What I want to do is convert a XmlDocument into a xml file and have it prompt the user to download the xml file when a button is clicked.

I don't know where to begin so any examples of how to convert a XmlDocument to a xml file and prompt to save that file would be great. Thanks