Package: cxml-stp

Function replace-child

Lambda List

replace-child (parent old-child new-child)

Arguments

Details

Adds new-child instead of old-child as a child node of parent, if allowed.

Signals an error if the new child already has a parent.

Also signals an error if old-child is not a child of parent.
 

See also