MIXmlNodeGetText() 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 the text content of the given node or the concatenated text representing the node and its descendants.

Syntax

MIXmlNodeGetText( ByVal hXMLNode As MIXmlNode, pText As String, 
	ByVal nLen As Integer ) As SmallInt

hXMLNode is the MIXmlNode object handle.

pText is a reference to a string that receives the text content of the given node and its descendants. This value varies depending on the value of the note type.

nLen is the size of the buffer referenced by pText.

Return Value

Nonzero if successful; otherwise 0.

Description

MIXmlNodegettext() is used to get the node text with a given node instance. Its value varies, depending on the node type. For more details and more precise control over text manipulation in an XML document, refer to the Microsoft MSDN library.