hwIXMLFile IsAttribute

Finds if the node or folder is an attribute.

Syntax

hwIXMLFile_handle IsAttribute ident

Application

HyperWorks Tcl Query

Description

This command finds if the node or folder is an attribute. An attribute is a node, a name or value; NOT a folder of any kind. An attribute does not have levels below it. If the input is an attribute, true is returned. Otherwise, false is returned.

Inputs

ident
The variable name (Templex statement) of the node or folder.

Example

hwi GetSessionHandle sess;
sess GetXMLFileHandle XML “c:/Documents and Settings/user/My Documents/hwsettings.xml”;
XML IsAttribute section.section.entry.5.value;

Error

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

Keywords

HyperWorks

Tcl

XML

Query