MIXmlGetNextNode() 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

Returns the next node in the collection.

Syntax

MIXmlGetNextNode( ByVal hXMLNodeList As MIXmlNodeList ) As MIXmlNode

hXMLNodeList is the MIXmlNodeList object handle.

Return Value

A handle to the MIXmlNode object which refers to the next node in the collection represented by, hXMLNodeList, if successful; returns NULL if there is no next node.

Description

The iterator initially points before the first node in the list so that the first call to the MIXmlGetNextNode() function returns the first node in the list. This functions returns NULL when the current node is the last node or there are no items in the list.

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