wwxml::ParseXMLToObject

Low Level Input Method

This method parses XML data into an existing object. The object can optionally be created if a datastructure XML object exists using the BuildObjectFromXML() method.

o.ParseXMLToObject(loObjectElement, loObject, llParseCaseInsensitive)

Return Value

logical

Parameters

loObjectElement
XML element that corresponds to the <object> tag.

<object name="class">
   <property1/>
   <property2/>
</object>

loObject
The object that the data is parsed into. The object must exist. You can have this object created by BuildObjectFromXML if the object was exported with data structures.

llParseCaseInsensitive
Parses the object XML case insensitively which allows wwXML to match VFPs default lower case property names to mixed case properties provided in the XML. Note: Use this only if needed as it is considerably slower to parse as each property is searched out.

Remarks

This method requries the IE 5 MSXML DOM parser.


See also:

Class wwXML (High Level Methods)

© West Wind Technologies, 1996-2024 • Updated: 04/17/04
Comment or report problem with topic