hwIXMLFile IsValid

Finds if the file is an XML file.

Syntax

hwIXMLFile_handle IsValid

Application

HyperWorks Tcl Query

Description

This command finds if the file chosen when the GetXMLFileHandle was called is an XML file. If the file is an XML file, true is returned. If it is not a valid XML file, false is returned.

Example

hwi GetSessionHandle sess;
sess GetXMLFileHandle XML “c:/Documents and Settings/user/My Documents/hwsettings.xml”;
XML IsValid;

Error

Returns success (true or false) or an error code.

Keywords

HyperWorks

Tcl

XML

Query