::hwat::xml::GetParentName

Get the parent name of the selected child name.

Syntax

::hwat::xml::GetParentElement str_childElement

Arguments

str_childElement
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.
Optional.

Returns

Success
Name of parent name.
Failure
{}

Example

::hwat::xml::GetParentName $str_myChild

Comments

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