
less than 1 minute to read
A light wrapper class around the XMLAdapater class that provides easier access to cursors and XML content.
Remarks
Requires VFP 8.0 or later
Class Members
Example
*** Create XML from 2 cursors
USE Guest
USE tt_cust IN 0
loXml = CREATEOBJECT("wwXmlAdapter")
loXml.AddTableSchema("TT_Cust")
loXml.AddTableSchema("Guest")
lcXml = ""
loXml.ToXML("lcXml")
*** This has your xml
? lcXml
Close data
*** Parse DataSet Xml back to cursors
loXml = CREATEOBJECT("wwXmlAdapter")
loXml.LoadXML(lcXml)
*** Retrieve guest cursor
loXml.GetCursor("Guest")
loXml.GetCursor("TT_Cust")
SELECT Guest
BROWSE NOWAIT
SELECT TT_CUST
BROWSE NOWAIT
© West Wind Technologies, 1996-2024 • Updated: 01/09/16
Comment or report problem with topic