Not sure if this is the best place to post these questions but I need some advice.
I'm still new with vb and .asp so any help would be appreciated.
My questions are:
I have a table (say table1) that has a list of addresses in it. I need to pass these addresses to a batch geocoder (google, bing, etc...). From what I've read xml is the format the addresses need to be in to pass this on.
what would be the best way to convert the table to an xml document?
I've successfully converted the addresses in the table using :

Code:
Dim addressXml As New System.IO.StringWriter
            table1.WriteXml(addressXml, XmlWriteMode.WriteSchema, True)
but the resulting xml is not formated very well.
can I alter the formating somehow?

I've also seen others using xmltextwriter. Is this a better/more efficent way?