xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_XmlErrorDesc()

Retrieves a textual error description for XML file parsing errors.

Syntax

HB_XmlErrorDesc( <nErrorCode> ) --> cErrorMessage

Arguments

<nErrorCode>
This is the numeric error code of a TXmlDocument() object after reading an XML file. The error code is stored in the :nError instance variable.

Return

The function returns a character string holding the error message.

Description

HB_XmlErrorDesc() is a helper function provided for debugging purposes. It retrieves a textual description for an error that may occur when a TXmlDocument() processes XML data.

Info

See also:TXmlDocument()
Category: Debug functions , xHarbour extensions
Source:rtl\hbxml.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe