How best to return XML from a function (VB .net 2003, 7.1)
Posted on 2007-07-25
I'm writing a VB (.net 2003, 7.1) application. It is to return XML, maybe several thousand lines worth. Not really a huge amount of data. (The receiving function may just write the XML out to a file, I don't know, not my job). I could have VB return an array of Strings but I'm wondering if there is any better ways to returning this type of data. Not binary, just ASCII lines. I've "heard" about streaming but know NOTHING about it. So I leave it up to the experts to advise me as to a better way to return XML like data. Maybe an array of Strings is the best way. Details are appreciated. Let me know!!