<?xml version="1.0"?> <xdoc> <class type="O" class="Empty"> <addresses type="O" class="Collection"> <count>2</count> <keysort>0</keysort> <items> <item key="address1" type="O" class="Address"> <caddress>400 Hexham</caddress> <cname>Markus Egger</cname> </item> <item key="address2" type="O" class="Address"> <caddress></caddress> <cname></cname> </item> </items> </addresses> <objecttype>CollectionTest</objecttype> </class> </xdoc>
The import supports only simple types (can be mixed) or a single object type which must be provided by the first item in the collection passed to import to.
o.ParseXMLToCollection(loXmlNode,loCollection)
loCollection
The collection to import to. This collection should either be empty in the case of simple types, or contain exactly 1 item that holds the object of the same type that is to be imported. Objects of different types are not supported on import.