Class wwXML (Low Level Methods)

The low level methods of this class make it possible to build custom XML and string together multiple objects and cursors into a single XML document. There are two sets of routines for both cursor and object creation imports consisting of to export and two import routines. Each routine deals with one individidual object block (the structure or the data) and can be exported and parsed individually.

Output Methods


Input Methods


Class Members

MemberDescription
BuildCursorFromXML Low Level Input Method
o.BuildCursorFromXML(loDataElement,lcAlias)
BuildObjectFromXML Low Level Input Method
o.BuildObjectFromXML(loXMLObjectStructureElement)
CreateADOXML Creates an XML fragment from an ADO recordset.
o.CreateADOXML(loRS, lcName, lcRowName, lnIndent)
CreateArrayXML This method is used internally to parse object arrays. This low level method is specialized and only works with one dimensional arrays at this time.
o.CreateArrayXML(@laArray, lcName, lcRow, lnIndent)
CreateCollectionXml This low level method creates Xml for a collection.
o.CreateCollectionXml(loCollection, lcName, lcRow, lnIndent)
CreateCursorFromSchema Creates a cursor from a Schema definition in wwXML's schema format.
o.CreateCursorFromSchema(loSchema,lcAlias)
CreateCursorXML Low Level Output Method
o.CreateCursorXML(lcName, lcRowName, lnIndent)
CreateDataStructureDTD This method creates a DTD from the currently active Alias's data structure. The DTD generated is not complete in that it lacks the DocType and top level document root definition. This is so you can string together multiple cursors or objects in a single DTD.
o.CreateDataStructureXML(lcName, lcRowName, lnIndent, loRS)
CreateDataStructureSchema Creates a Schema string from the currently active cursor/alias. The schema is generated as separate schema string.
o.CreateDataStructureSchema(lcName, lcRowName, loRS)
CreateObjectStructureDTD Low Level Output Method
o.CreateObjectStructureDTD(oObject, cName)
CreateObjectStructureSchema Creates a schema for a single level object.
o.CreateObjectStructureSchema(loObject, lcName, lnRecurseType)
CreateObjectStructureXML Low Level Output Method
o.CreateObjectStructureXML(loObject, lcName, lnIndent)
CreateObjectXML Low Level Output Method
o.CreateObjectXML(loObject, lcName, lnIndent)
ParseADOXMLToCursor Low level method that parses the content of an ADO XML recordset to a VFP cursor. Cursor must already exist and the parameter passed in must point at the rows XML DOM collection when passed in.
o.ParseADOXMLToCursor(loDataElement)
ParseXmlToArray Parses an XML representation to an Array.
o.ParseXmlToArray(loXmlNode,@laArray)
ParseXMLToCollection This low level method imports a collection from an XML Node that follows a specific collection schema.
o.ParseXMLToCollection(loXmlNode,loCollection)
ParseXMLToCursor Low Level Input Method
o.ParseXMLToCursor(oXMLCursorNode)
ParseXMLToObject Low Level Input Method
o.ParseXMLToObject(loObjectElement, loObject, llParseCaseInsensitive)

Requirements



  Last Updated: 5/27/2007 | © West Wind Technologies, 2008