Returns an XML element as XMLData object.
GetFirstChild initializes a new iterator and returns the first child. Set nKind = -1 to get an iterator for all kinds of children.
REMARK: The iterator is stored inside the XMLData object and gets destroyed when the XMLData object gets destroyed. Be sure to keep a reference to this object as long as you want to use GetCurrentChild, GetNextChild or EraseCurrentChild.
The XMLData object is no longer valid.
Invalid XMLData kind was specified.
Element has no children of specified kind.
Invalid address for the return parameter was specified.
See the example at XMLData.GetNextChild.