wwXML::CreateADOXML
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)
The XML fragment for the ADO recordset.
Parameters
loRS
An ADO recordset.
lcName
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().
lcRowName
Optional - The element name used for each row of the cursor.
- Default value:* "row"
lnIndent
Optional - Indentation level to start with.
See also
Class wwXML (Low Level Methods)© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic