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

Retrieves the MIXmlNamedNodeMap object with the given node.

Syntax

MIXmlGetAttributeList( ByVal hXMLNode As MIXmlNode ) As MIXmlNamedNodeMap

hXMLNode is the MIXmlNode object handle.

Return Value

A handle to the MIXmlNamedNodeMap object that contains the nodes which can return attributes. Returns NULL for all other node types.

Description

MIXmlGetAttributeList() creates an MIXmlNamedNodeMap object and returns the handle to the object. This object only contains the nodes which can return attributes (Element, Entity, and Notation nodes). Null is returned for all other node types. For the valid node types, a handle to an MIXmlNamedNodeMap object is always returned; when there are no attributes on the element, the list length is set to zero. For detailed information and the list of valid node types, refer to the Microsoft MSDN library.

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