The closes you can get (without doing it yourself) is something like this:
rs.Save "c:\Recordset.xml", adPersistXML
>Hello,
>In my vb.net components, I could return a dataset as an XML string, like so:
>
>
>Return mfproc02DS.GetXml
>
>
>Is there a vb6 equivalent to this command?
>
>Thanks!
>
>MAC
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com