XML DOM

admin

Administrator
Staff member
Hi All,I have been trying to write XML in to a file using DOM however I am gettingjunk data in the file. Can anybody tell me what is going wrong ??<%dim conn,rs,xmldomdim strrset conn=server.createobject("ADODB.connection")conn.open "DSN=somedsn"set rs=server.createobject("ADODB.Recordset")rs.open "select * from table",connif rs.eof=false thenrs.Save "D:\test.xml", adPersistXMLelseresponse.write("No data available")end ifrs.closeset rs=nothingconn.closeset conn=nothing%>ThanksHarish
 
Back
Top