Producing XML from ADODB.Record

***** Updated: 12-29-00 **** The Code below takes many of the fields in an exchange ADODB.Record and outputs them as a XML stream. This is accomplished by utilizing the type property of the field object to determine the data type of the field's value. This then determines how the output XML is rendered. Record.Type 8204 seems to indicate "unknown" these fields have to be handled on a per field.name basis (IE) ChildrensNames and other nonstandard data types. Dav:SupportedLock cannot be read from ADO so this field has been rendered inert with an if statement.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish