MIXmlDocumentCreate() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
ft:locale
en-US
Product name
MapBasic
ft:title
MapInfo MapBasic Reference
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:32:32.686000

Purpose

Creates an MIXmlDocument object and gets a handle to the object.

Syntax

MIXmlDocumentCreate() As MIXmlDocument

Return Value

A handle to the MIXmlDocument object. If the call fails, Null is returned. To determine the cause of the failure, call the MIGetErrorMessage() function.

Description

MIXmlDocumentCreate() creates and returns a handle to an MIXmlDocument object. It represents the top level of the XML source.

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