Activer JavaScript pour consulter ce site.

Altova XMLSpy 2020 Enterprise Edition

See also


Declaration: GetFirstChild (nKind as SPYXMLDataKind) as XMLData


Return Value

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.


Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software