MIXmlGetChildList() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

Purpose

Gets an MIXmlNodeList object that contains the children nodes of the given node instance.

Syntax

MIXmlGetChildList( ByVal hXMLNode As MIXmlNode) As MIXmlNodeList

hXMLNode is the MIXmlNode object handle.

Return Value

A handle to the MIXmlNodeList object that contains the children nodes of the given node instance if successful; otherwise NULL.

Description

MIXmlGetChildList() is used to get a list of children in the given node. An MIXmlNodeList object is returned even if there are no children of the node. In such a case, the length of the list is set to 0. This value depends on the value of the node type. For more information, refer to the Microsoft MSDN library.

The caller has to dispose of the handle by calling the MIXmlNodeListDestroy() procedure when the handle is no longer in use.