xowf::test_item::Answer_manager method dom node replace (protected)

 <instance of xowf::test_item::Answer_manager[i]> dom node replace \
    domNode xquery script

Defined in packages/xowf/tcl/test-item-procs.tcl

Parameters:
domNode (required)
xquery (required)
script (required)

Testcases:
No testcase defined.
Source code:
set node [$domNode selectNodes $xquery]
if {$node ne ""} {
  foreach child [$node childNodes] {
    $child delete
  }
  :uplevel [list $node appendFromScript $script]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: