MIXmlSCGetNamespace() 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 namespace at the specified index.

Syntax

MIXmlSCGetNamespace( ByVal hXMLSchemaCollection As MIXMLSchemaCollection, 
ByVal index As Integer, pNamespace As String, ByVal nLen As Integer )
As SmallInt

hXMLSchemaCollection is the MIXMLSchemaCollection object handle.

index is an integer that indicates the index between 0 and count -1.

pNamespace is a reference to a string that receives the name of the namespace.

nLen is the size of the buffer referenced by pNamespace.

Return Value

Nonzero if successful; otherwise 0. To determine the cause of the failure, call the MIGetErrorMessage() function.

Description

MIXmlSCGetNamespace() allows you to iterate through the collection to discover its contents.