Creating XML documents using VB - TechRepublic
General discussion
October 2, 2000 at 09:32 PM
dwtk9

Creating XML documents using VB

by dwtk9 . Updated 25 years, 8 months ago

Hi everyone,

My name is Derek. I want to create an XML doc using VB. The contents of the XML should be based on a specified database. Currently I use the following methods
(conn.open “filedsn=cust”
charRS.open “select * from Customer”, conn, adOpenForwardOnly, adLockReadOnly, -1
Set rdataXML = New DOMDocument
charRS.save “C:\testxml2.xml”, adPersistXML)

This doesn’t really help me coz I have problem binding the XML in my HTML file even when i use the binding tag like
.

Is there anything wrong with my code or even better please suggest how I can write a better VB code to get data from a db and then construct an XML doc

Contact me at dwtk9@yahoo.com if there’s any prob. Thanks!!!!

This discussion is locked

All Comments