Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Creating an xml file from a database row


Message #1 by "Gerhard de Graaf" <gdg@t...> on Wed, 18 Apr 2001 15:33:43
Hello,



I'm working with an acces database and trying to create an xml document 

from one row out of this db. I'm not sure how to do this. I'm thinking of 

using the FileSystemObject object. Is there someone who can help me out 

with a good suggestion or some sample code??



Thanx



Gerhard de Graaf
Message #2 by Carrico Todd <TCarrico@f...> on Wed, 18 Apr 2001 12:17:15 -0500
You could save an ADO recordset to XML.  It has some other baggage and the

data is implemented with attributes.  Makes it a little bit harder to work

with on the other end.



You could also loop throught the records and the columns to create your own

schema.



Really depends on what the other end is doing.



tc



-----Original Message-----

From: Gerhard de Graaf [mailto:gdg@t...]

Sent: Wednesday, April 18, 2001 10:34

To: ASP+

Subject: [aspx] Creating an xml file from a database row





Hello,



I'm working with an acces database and trying to create an xml document 

from one row out of this db. I'm not sure how to do this. I'm thinking of 

using the FileSystemObject object. Is there someone who can help me out 

with a good suggestion or some sample code??



Thanx



Gerhard de Graaf




  Return to Index