Home > Contents > Index >
TREEMANAGER.delchildren
Deletes multiple nodes from a tree.
Syntax
<TREEMANAGER> <ARGUMENT NAME="ftcmd" VALUE="delchildren"/> <ARGUMENT NAME="treename" VALUE="name"/> <ARGUMENT NAME="nodeN" VALUE="nodeid"/> </TREEMANAGER>Parameters
ftcmd (required)
- Value must be set to
delchildren
.
treename (required)
- Name of the tree.
nodeN (required)
- Where N is
0
to the number of nodes that you want to delete.
Note that these parameters are the same as for
delchild
. Children are deleted from a single tree and the node parameter must be specified by counting from 0. See addchildren for more information.description
The
deletechildren
command deletes multiple nodes from a tree. Child nodes of the nodes deleted are also removed. The objects pointed to by the nodes are not affected.errno
The possible values of
errno
include:
Value Description -3 No access privileges to table. -103 No table. -105 Database error. -110 Invalid tree name. -111 No nodes.Example
<SETVAR NAME="errno" VALUE="0"/> <TREEMANAGER> <ARGUMENT NAME="ftcmd" VALUE="delchildren" /> <ARGUMENT NAME="treename" VALUE="TreetestTree" /> <ARGUMENT NAME="node0" VALUE="34253224" /> <ARGUMENT NAME="node1" VALUE="94589343" /> <ARGUMENT NAME="node2" VALUE="83473888" /> </TREEMANAGER> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.