chickadee » sxpath » sxml:add-parents

sxml:add-parents obj #!optional top-ptrprocedure

Returns the SXML element obj annotated with *PARENT* pointers for obj and all its descendants. If obj is not the root node (a node with a name of *TOP*), you must pass in the parent pointer for obj as top-ptr.

Warning: This procedure mutates its obj argument.