HyperWorks Tools

::hwat::xml::GetParentName

::hwat::xml::GetParentName

Previous topic Next topic No expanding text in this topic  

::hwat::xml::GetParentName

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::xml::GetParentName - Get the parent name of the selected child name.

 

SYNTAX

::hwat::xml::GetParentElement str_childElement

 

ARGUMENTS

str_childElement

[optional] The child name whose parent needs finding.  If not given, the current active name will be taken as the child and its parent will be reported.

 

RETURNS

Name of parent name if successful, "{}" otherwise.

 

EXAMPLE

::hwat::xml::GetParentName $str_myChild

 

Comments

This can be a useful helper function for authoring your callbacks.

 

See also

xml Functions