xml text files

Results 1 to 2 of 2

Thread: xml text files

  1. #1
    Join Date
    Dec 1969

    Default xml text files

    hi, we are trying to save an xml text file from a recordset using this code:<BR>------------------------------------------<BR>Set rsPerson = Server.CreateObject("ADODB.Recordset")<BR>rsPerson .Open "Person", db<BR><BR>Dim SourceFile, strSource<BR>SourceFile = "textfiles/text007.xml"<BR>strSource = Server.MapPath(SourceFile)<BR><BR>rsPerson.Save strSource, adPersistXML<BR><BR>rsPerson.Close<BR>------------------------------------------<BR>We get a text file but it looks like a mess, rather than an XML document. The contents of the recordset turn up but XML formatting doesn&#039;t. Any ideas what the problem is?<BR><BR>thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: xml text files

    You could check your MDAC version.<BR><BR>Saving a recordset in XML is only supported in the later versions of MDAC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts