Creates an XML fragment from an ADO recordset.


Use this method if you want to combine multiple objects/cursors into a single XML document, or if you want to create a very simple XML layout. This document is well formed, but requires at least the <?xml version="1.0"> header.

o.CreateADOXML(loRS, lcName, lcRowName, lnIndent)

Return Value

The XML fragment for the ADO recordset.


An ADO recordset.

Optional - element name used at the table level. Note this tag sits underneath the document root. (wwBanners in the example).
Default value: The name of the current Alias().

Optional - The element name used for each row of the cursor.
Default value: "row"

Optional - Indentation level to start with.

See also:

Class wwXML (Low Level Methods)

© West Wind Technologies, 1996-2022 • Updated: 10/30/99
Comment or report problem with topic