HyperWorks Tools

::hwat::xml::GetParentElement

::hwat::xml::GetParentElement

Previous topic Next topic No expanding text in this topic  

::hwat::xml::GetParentElement

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

NAME

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

 

SYNTAX

::hwat::xml::GetParentElement str_childElement

 

ARGUMENTS

str_childElement

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

 

RETURNS

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

 

EXAMPLE

::hwat::xml::GetParentElement $str_myChild

 

Comments

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

 

See also

xml Functions